diff --git a/webui2/src/vite-env.d.ts b/webui2/src/vite-env.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..11f02fe2a0061d6e6e1f271b21da95423b448b32 --- /dev/null +++ b/webui2/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/webui2/tsconfig.app.json b/webui2/tsconfig.app.json index 5e1feb437651831f728f7188d3b8ce2c0e3eb8f7..b785101fc1743b79cba3a47d2c2fb7fd091025bb 100644 --- a/webui2/tsconfig.app.json +++ b/webui2/tsconfig.app.json @@ -1,9 +1,7 @@ { "compilerOptions": { - "target": "ES2020", - "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], - "module": "ESNext", + "target": "ES2022", + "lib": ["ES2022", "DOM"], "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, @@ -11,11 +9,9 @@ "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, - "baseUrl": ".", "paths": { "@/*": ["./src/*"] } diff --git a/webui2/tsconfig.node.json b/webui2/tsconfig.node.json index be008ab7717a360c05714a5a327cb5e5319e8bea..0f2a7c15f2028c5132bdd2933039c20b88afedb9 100644 --- a/webui2/tsconfig.node.json +++ b/webui2/tsconfig.node.json @@ -2,14 +2,13 @@ "compilerOptions": { "target": "ES2022", "lib": ["ES2023"], - "module": "ESNext", + "types": ["node"], "moduleResolution": "bundler", "allowImportingTsExtensions": true, "isolatedModules": true, "moduleDetection": "force", "noEmit": true, "skipLibCheck": true, - "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true