Skip to content

Commit 6fe8da0

Browse files
committed
feat: add 'lib' option to include es2020
1 parent c2d27e6 commit 6fe8da0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1111
/* Language and Environment */
1212
"target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
13+
"lib": [
14+
"es2020"
15+
],
1316
// "jsx": "preserve", /* Specify what JSX code is generated. */
1417
// "libReplacement": true, /* Enable lib replacement. */
1518
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */

0 commit comments

Comments
 (0)