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" }