Skip to content

Commit d74e192

Browse files
feat: use lib and target es2020
https://www.w3schools.com/js/js_2020.asp > New Features in ES2020 > BigInt > String matchAll() > The Nullish Coalescing Operator (??) > The Optional Chaining Operator (?.) > Logical AND Assignment Operator (&&=) > Logical OR Assignment (||=) > Nullish Coalescing Assignment (??=) > Promise.allSettled() > Dynamic Import Issue: BTC-1688
1 parent 0584e14 commit d74e192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"declarationMap": true,
77
"inlineSourceMap": true,
88
"inlineSources": true,
9-
"lib": ["dom", "es2019"],
9+
"lib": ["dom", "es2020"],
1010
"module": "commonjs",
1111
"noFallthroughCasesInSwitch": true,
1212
"noImplicitThis": true,
@@ -16,7 +16,7 @@
1616
"strictFunctionTypes": true,
1717
"strictNullChecks": true,
1818
"strictPropertyInitialization": true,
19-
"target": "es2019",
19+
"target": "es2020",
2020
"typeRoots": ["./node_modules/@types", "./types"]
2121
},
2222
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)