Skip to content

Commit 3042807

Browse files
committed
Update tsconfig target version
ES2020 should be easily safe: in theory it's fine for Node v14. We could go further but there's limited benefit, the main thing is avoiding heavy workarounds to syntactic features (like async/await).
1 parent 7202b2f commit 3042807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es6",
3+
"target": "es2020",
44
"module": "commonjs",
55
"outDir": "./dist",
66
"declaration": true,

0 commit comments

Comments
 (0)