Skip to content

Commit

Permalink
chore(ts): enable using es2023 methods
Browse files Browse the repository at this point in the history
need to take care though: `Array.findLast(Index)` is good to use in Node 18, but `Array.toReversed` etc. is only supported in Node 20+
  • Loading branch information
marcelgerber committed Aug 8, 2024
1 parent c790576 commit 780165d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devTools/tsconfigs/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// "lib": ["es2020"],
// "target": "es2020",

"lib": ["dom", "dom.iterable", "es2020", "es2021", "es2022"],
"lib": ["dom", "dom.iterable", "es2020", "es2021", "es2022", "es2023"],
"target": "es2019",

"alwaysStrict": true,
Expand Down

0 comments on commit 780165d

Please sign in to comment.