{ "compilerOptions": { "target": "ES2022", "lib": ["ES2022", "WebWorker"], "module": "ESNext", "moduleResolution": "Bundler", "types": ["@cloudflare/workers-types", "node"], "strict": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, "noFallthroughCasesInSwitch": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "skipLibCheck": true, "resolveJsonModule": true, "isolatedModules": true, "verbatimModuleSyntax": true, "declaration": true, "declarationMap": true, "sourceMap": true, "outDir": "dist", "rootDir": "src" }, "include": ["src/**/*"], "exclude": [ "node_modules", "dist", "legacy", // src/dashboard/ is the Svelte browser bundle — compiled separately by // scripts/build-dashboard-ui.mjs with the DOM lib + esbuild-svelte. The // root tsconfig targets Node + WebWorker (no `document` / `localStorage`), // so type-checking dashboard sources here would always fail. They're still // covered by `tsconfig.dashboard.json` for editor + CI type-checking. "src/dashboard" ] }