Skip to content

Commit aeca210

Browse files
authored
fix: update ts lib config (#680)
this enables es2019 features plus others already present in node 12
1 parent 4b4abf6 commit aeca210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/tsconfig.aegir.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"resolveJsonModule": true,
2222
"preserveConstEnums": true,
2323
"removeComments": false,
24-
"target": "ES2018",
24+
"target": "ES2019",
2525
"moduleResolution": "node",
26-
"lib": ["ES2018", "DOM"],
26+
"lib": ["ES2019", "ES2020.Promise", "ES2020.String", "ES2020.BigInt", "DOM", "DOM.Iterable"],
2727
"noEmitOnError": true,
2828
"noEmit": false,
2929
"emitDeclarationOnly": true,

0 commit comments

Comments
 (0)