From 780165d60874eab8998cef637aac515169b807ac Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Thu, 8 Aug 2024 17:16:24 +0100 Subject: [PATCH] chore(ts): enable using es2023 methods 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+ --- devTools/tsconfigs/tsconfig.base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devTools/tsconfigs/tsconfig.base.json b/devTools/tsconfigs/tsconfig.base.json index f775dca2c20..c51deb079c0 100644 --- a/devTools/tsconfigs/tsconfig.base.json +++ b/devTools/tsconfigs/tsconfig.base.json @@ -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,