Skip to content

Commit

Permalink
Update lib for base/dom configs to target es2020
Browse files Browse the repository at this point in the history
The functionality in esnext.asynciterable was standardised and is
included in es2018
  • Loading branch information
BPScott committed Apr 23, 2021
1 parent 89eb4ce commit cfd8b88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/typescript-configs/base.json
Expand Up @@ -4,7 +4,7 @@
"esModuleInterop": true,
"isolatedModules": true,
"experimentalDecorators": true,
"lib": ["dom", "es2018", "esnext.asynciterable"],
"lib": ["dom", "es2020"],
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down
5 changes: 2 additions & 3 deletions packages/typescript-configs/dom.json
Expand Up @@ -5,9 +5,8 @@
"lib": [
"dom",
"dom.iterable",
"es2017",
"esnext.asynciterable",
"scripthost"
"scripthost",
"es2020"
],
"module": "esnext",
"target": "es2017"
Expand Down

0 comments on commit cfd8b88

Please sign in to comment.