|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Basic Options */
|
4 | 4 | // "incremental": true, /* Enable incremental compilation */
|
5 |
| - "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ |
6 |
| - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
| 5 | + "target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, |
| 6 | + "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, |
7 | 7 | // "allowJs": true, /* Allow javascript files to be compiled. */
|
8 | 8 | // "checkJs": true, /* Report errors in .js files. */
|
9 | 9 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
10 | 10 | // "declaration": true, /* Generates corresponding '.d.ts' file. */
|
11 | 11 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
12 | 12 | // "sourceMap": true, /* Generates corresponding '.map' file. */
|
13 | 13 | // "outFile": "./", /* Concatenate and emit output to single file. */
|
14 |
| - "outDir": "./lib", /* Redirect output structure to the directory. */ |
15 |
| - "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
| 14 | + "outDir": "./lib" /* Redirect output structure to the directory. */, |
| 15 | + "rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */, |
16 | 16 | // "composite": true, /* Enable project compilation */
|
17 | 17 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
18 | 18 | // "removeComments": true, /* Do not emit comments to output. */
|
|
22 | 22 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
23 | 23 |
|
24 | 24 | /* Strict Type-Checking Options */
|
25 |
| - "strict": true, /* Enable all strict type-checking options. */ |
26 |
| - "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ |
| 25 | + "strict": true /* Enable all strict type-checking options. */, |
| 26 | + "noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */, |
27 | 27 | // "strictNullChecks": true, /* Enable strict null checks. */
|
28 | 28 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
29 | 29 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
|
45 | 45 | // "typeRoots": [], /* List of folders to include type definitions from. */
|
46 | 46 | // "types": [], /* Type declaration files to be included in compilation. */
|
47 | 47 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
48 |
| - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 48 | + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
49 | 49 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
50 | 50 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
51 | 51 |
|
|
0 commit comments