hensei-web/tsconfig.json
Justin Edmund 8fd7a6fb11 refactor: remove exactOptionalPropertyTypes and fix import casing
Phase 1: Configuration Fix
- Remove exactOptionalPropertyTypes from tsconfig.json
  This strict option caused 22+ incompatibilities with third-party libraries
  (bits-ui, wx-svelte-grid) without providing sufficient value
- Fix Switch.svelte import casing in settings page
  Changed from 'switch/switch.svelte' to 'switch/Switch.svelte'

Result: 53 → 45 errors (8 errors fixed)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 19:19:32 -08:00

32 lines
862 B
JSON

{
"extends": "./.svelte-kit/tsconfig.json",
// Only put things here that you truly want to override globally.
"compilerOptions": {
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"useUnknownInCatchVariables": true,
"forceConsistentCasingInFileNames": true,
/* Module resolution for Vite/SvelteKit */
"moduleResolution": "bundler",
"resolveJsonModule": true,
/* JS interop (keep if you import CJS libs) */
"esModuleInterop": true,
/* JS files (keep if you have any .js) */
"allowJs": true,
"checkJs": false,
/* Build ergonomics */
"skipLibCheck": true,
"sourceMap": true
// Avoid "paths" here—SvelteKit manages them via svelte.config.js -> kit.alias
// Adding "paths" would override $app/* & $lib/* from the generated config.
},
"include": ["src/**/*.svelte", "src/**/*.ts", "src/**/*.d.ts"]
}