|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Basic Options */
|
4 | 4 | // "incremental": true, /* Enable incremental compilation */
|
5 |
| - "target": "es2021", /* 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": "ES2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ |
| 6 | + "module": "Node16", /* 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'. */
|
|
38 | 38 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
39 | 39 |
|
40 | 40 | /* Module Resolution Options */
|
41 |
| - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
| 41 | + "moduleResolution": "Node16", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
42 | 42 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
43 | 43 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
44 | 44 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
0 commit comments