Skip to content

Commit

Permalink
Update tsconfig target version
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
pimterry committed Jun 6, 2024
1 parent 7202b2f commit 3042807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es6",
"target": "es2020",
"module": "commonjs",
"outDir": "./dist",
"declaration": true,
Expand Down

0 comments on commit 3042807

Please sign in to comment.