Skip to content

Commit c6c54a8

Browse files
tpluscodeAlexZeitler
authored andcommitted
buid: update node target to support node 16+
1 parent 5d0ecfc commit c6c54a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"compilerOptions": {
33
/* Basic Options */
44
// "incremental": true, /* Enable incremental compilation */
5-
"target": "es5" /* 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": "ES2021" /* 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'. */,
77
"lib": [
8-
"es2015",
8+
"es2021",
99
"dom"
1010
] /* Specify library files to be included in the compilation. */,
1111
// "allowJs": true, /* Allow javascript files to be compiled. */

0 commit comments

Comments
 (0)