Skip to content

Commit

Permalink
feat: bump typescript target to ES2017 (#729)
Browse files Browse the repository at this point in the history
Sets the TypeScript compile target to ES2017 as ES2015 is now 8 years
old. Furthermore, ES2017 targets do not transpile async/await to JS
generators, which means that stack traces will now be readable.
  • Loading branch information
hf committed Jul 12, 2023
1 parent 48f21e1 commit 92b47d2
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
Expand Up @@ -7,7 +7,7 @@
"outDir": "dist/main",
"rootDir": "src",
"sourceMap": true,
"target": "ES2015",
"target": "ES2017",

"strict": true,

Expand Down

0 comments on commit 92b47d2

Please sign in to comment.