|
3 | 3 | /* Visit https://aka.ms/tsconfig.json to read more about this file */ |
4 | 4 |
|
5 | 5 | /* Basic Options */ |
6 | | - // "incremental": true, /* Enable incremental compilation */ |
7 | | - "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
| 6 | + // "incremental": true, /* Enable incremental compilation */ |
| 7 | + "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
8 | 8 | "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
9 | 9 | // "lib": [], /* Specify library files to be included in the compilation. */ |
10 | 10 | // "allowJs": true, /* Allow javascript files to be compiled. */ |
11 | 11 | // "checkJs": true, /* Report errors in .js files. */ |
12 | 12 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */ |
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 | 15 | // "sourceMap": true, /* Generates corresponding '.map' file. */ |
16 | 16 | // "outFile": "./", /* Concatenate and emit output to single file. */ |
17 | | - // "outDir": "./dist", /* Redirect output structure to the directory. */ |
| 17 | + "outDir": "./dist", /* Redirect output structure to the directory. */ |
18 | 18 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
19 | 19 | // "composite": true, /* Enable project compilation */ |
20 | 20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ |
21 | 21 | // "removeComments": true, /* Do not emit comments to output. */ |
22 | 22 | // "noEmit": true, /* Do not emit outputs. */ |
23 | | - "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
24 | | - "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ |
| 23 | + // "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
| 24 | + "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ |
25 | 25 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ |
26 | 26 |
|
27 | 27 | /* Strict Type-Checking Options */ |
28 | 28 | "strict": true, /* Enable all strict type-checking options. */ |
29 | | - "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ |
30 | | - "strictNullChecks": true, /* Enable strict null checks. */ |
| 29 | + "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ |
| 30 | + "strictNullChecks": true, /* Enable strict null checks. */ |
31 | 31 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
32 | 32 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ |
33 | 33 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ |
|
43 | 43 | // "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */ |
44 | 44 |
|
45 | 45 | /* Module Resolution Options */ |
46 | | - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
| 46 | + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
47 | 47 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ |
48 | 48 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ |
49 | 49 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ |
50 | | - "typeRoots": ["./types"], /* List of folders to include type definitions from. */ |
| 50 | + "typeRoots": ["./types"], /* List of folders to include type definitions from. */ |
51 | 51 | // "types": [], /* Type declaration files to be included in compilation. */ |
52 | 52 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ |
53 | 53 | "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
|
0 commit comments