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 #688


Former-commit-id: 9f49d91
  • Loading branch information
cedoor committed Mar 25, 2024
1 parent aa0c9ce commit f569b2f
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": "ES5",
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
Expand Down

0 comments on commit f569b2f

Please sign in to comment.