Maintenance: Align TypeScript baseline to ES2023

This commit is contained in:
Benjamin Scharf
2026-03-17 08:47:28 +01:00
parent e952edcdf6
commit 9f73185aaf
2 changed files with 4 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "es2022",
"target": "es2023",
"lib": ["ES2023", "DOM", "WebWorker", "DOM.iterable"],
"module": "esnext",
"jsx": "preserve",
"sourceMap": true,
@@ -22,7 +23,7 @@
"#tests/*": ["app/frontend/tests/*"],
"#cy/*": [".dev/cypress/*"]
},
"types": ["vite/client", "node", "vite-plugin-pwa/client"],
"types": ["vitest/globals", "vite/client", "vite-plugin-pwa/client"],
"esModuleInterop": true,
"experimentalDecorators": true,
"skipLibCheck": true,

View File

@@ -1,9 +1,5 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": ["DOM", "WebWorker", "dom.iterable"],
"types": ["vitest/globals", "vite/client", "vite-plugin-pwa/client"]
},
"include": ["app/frontend/**/*", "./vite.config.*", "./vitest.setup.ts"],
"exclude": [
"app/frontend/cypress/**/*",