diff --git a/env.d.ts b/src/env.d.ts similarity index 100% rename from env.d.ts rename to src/env.d.ts diff --git a/tsconfig.json b/tsconfig.json index dd41d7d..e773fd9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,22 +1,24 @@ { "compilerOptions": { - "target": "es6", - "lib": ["dom", "dom.iterable", "esnext"], "allowJs": false, - "skipLibCheck": true, - "esModuleInterop": false, "allowSyntheticDefaultImports": true, "allowUnreachableCode": false, - "strict": true, + "esModuleInterop": false, "forceConsistentCasingInFileNames": true, - "noFallthroughCasesInSwitch": true, + "isolatedModules": true, + "jsx": "react-jsx", + "lib": ["dom", "dom.iterable", "esnext"], "module": "esnext", "moduleResolution": "node", - "resolveJsonModule": true, - "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx", + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "strict": true, + "target": "ES2022", "types": ["vite-plugin-pwa/client"] }, - "include": ["src", "env.d.ts", "vite.config.ts"] + "include": ["src", "vite.config.ts"] }