|
10 | 10 | // "allowJs": true /* Allow javascript files to be compiled. */,
|
11 | 11 | // "checkJs": true, /* Report errors in .js files. */
|
12 | 12 | "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
|
13 |
| - // "declaration": true /* Generates corresponding '.d.ts' file. */, |
| 13 | + "declaration": true /* Generates corresponding '.d.ts' file. */, |
14 | 14 | // "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */,
|
| 15 | + "declarationDir": "./types" /* Output directory for generated declaration files. */, |
| 16 | + // "emitDeclarationOnly": true /* Only emit ‘.d.ts’ declaration files. */, |
15 | 17 | "sourceMap": true /* Generates corresponding '.map' file. */,
|
16 | 18 | // "outFile": "./", /* Concatenate and emit output to single file. */
|
17 |
| - // "outDir": "." /* Redirect output structure to the directory. */, |
| 19 | + // "outDir": "./types" /* Redirect output structure to the directory. */, |
18 | 20 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
19 | 21 | // "composite": true, /* Enable project compilation */
|
20 | 22 | "removeComments": false /* Do not emit comments to output. */,
|
21 |
| - "noEmit": true /* Do not emit outputs. */, |
| 23 | + // "noEmit": true /* Do not emit outputs. */, |
22 | 24 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
23 | 25 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
24 | 26 | // "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */,
|
|
42 | 44 | /* Module Resolution Options */
|
43 | 45 | "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
44 | 46 | "baseUrl": "./" /* Base directory to resolve non-absolute module names. */,
|
45 |
| - "paths": { |
46 |
| - "*": ["*", "types/*"] |
47 |
| - } /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, |
| 47 | + // "paths": { |
| 48 | + // "*": ["*", "types/*"] |
| 49 | + // } /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, |
48 | 50 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
49 | 51 | // "typeRoots": [], /* List of folders to include type definitions from. */
|
50 | 52 | // "types": [], /* Type declaration files to be included in compilation. */
|
|
0 commit comments