From 53639ae0d56da786293ee1a8b2a19820f213e48e Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Fri, 24 Apr 2026 11:43:51 +0200 Subject: [PATCH] Update TypeScript target and lib to ES2023 --- tsconfig.base.json | 4 ++-- tsconfig.web.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index bc4dd7c2d9..25d2b75c0a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -3,8 +3,8 @@ "module": "esnext", "moduleResolution": "bundler", "moduleDetection": "force", - "target": "es2022", - "lib": ["es2022"], + "target": "es2023", + "lib": ["es2023"], "noEmit": true, "resolveJsonModule": true, "forceConsistentCasingInFileNames": true, diff --git a/tsconfig.web.json b/tsconfig.web.json index 9f77379691..16b4d5fa78 100644 --- a/tsconfig.web.json +++ b/tsconfig.web.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { - "lib": ["es2022", "dom"], + "lib": ["es2023", "dom"], "jsx": "react-jsx", "jsxImportSource": "preact" }