Skip to content

Commit

Permalink
migrate to es2022 compile target
Browse files Browse the repository at this point in the history
because ES2022 is supported by Node.js v20

https://node.green/#ES2022
  • Loading branch information
rhysd committed Jan 20, 2024
1 parent 59212f7 commit c061489
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 @@ -15,7 +15,7 @@
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"strict": true,
"target": "es2021",
"target": "es2022",
"sourceMap": true,
"esModuleInterop": true,
"resolveJsonModule": true
Expand Down

0 comments on commit c061489

Please sign in to comment.