Skip to content

Commit

Permalink
chore: update ts target to es2020
Browse files Browse the repository at this point in the history
Targeting ES2020 looks like it's generally fine today. It's widely supported across modern browsers
and environments and it would allow Semaphore bundles to use new ES features natively, like arrow
functions, promises, and classes, which can improve code readability and efficiency.

re #232
  • Loading branch information
cedoor committed Mar 25, 2024
1 parent 8d4b2f0 commit 0945bfc
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 @@ -2,7 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"strict": true,
"target": "ES6",
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
Expand Down

0 comments on commit 0945bfc

Please sign in to comment.