Maintenance: Align TypeScript baseline to ES2023
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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/**/*",
|
||||
|
||||
Reference in New Issue
Block a user