|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Basic Options */
|
4 |
| - "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ |
5 |
| - "module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
| 4 | + "target": "es2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ |
| 5 | + "module": "nodenext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
6 | 6 | "lib": ["dom", "es2015"], /* Specify library files to be included in the compilation. */
|
7 | 7 | // "allowJs": true, /* Allow javascript files to be compiled. */
|
8 | 8 | // "checkJs": true, /* Report errors in .js files. */
|
|
36 | 36 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
37 | 37 |
|
38 | 38 | /* Module Resolution Options */
|
39 |
| - // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
| 39 | + "moduleResolution": "nodenext", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
40 | 40 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
41 | 41 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
42 | 42 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
0 commit comments