diff --git a/tsconfig.json b/tsconfig.json index a0203ee..e7f23dd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,21 +3,39 @@ "exclude": ["node_modules", "build", "dist", "**/*.test.ts"], "compilerOptions": { "incremental": true, - "tsBuildInfoFile": "./node_modules/typescript/tsbuildinfo", - "noEmit": true, + "tsBuildInfoFile": "./node_modules/.cache/typescript/tsbuildinfo", + "target": "ES2022", "module": "ESNext", + "lib": ["ES2022", "DOM", "DOM.Iterable", "WebWorker"], + "allowJs": true, + "checkJs": false, + "jsx": "react-jsx", + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "./dist", "strict": true, - "lib": ["esnext", "dom", "dom.iterable"], - "jsx": "preserve", - "esModuleInterop": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, "moduleResolution": "bundler", "baseUrl": ".", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, "types": ["node", "vite/client"], "paths": { "@/*": ["./client/src/*"], - "@shared/*": ["./shared/*"] + "@shared/*": ["./shared/*"], + "@assets/*": ["./attached_assets/*"] } } }