TS 5.9 enables noUncheckedSideEffectImports under strict mode, which errors on CSS side-effect imports (e.g. leaflet/dist/leaflet.css). These imports are resolved by bundlers (Vite/Metro), not tsc. Set noUncheckedSideEffectImports: false in the shared tsconfig base. Reverts the unnecessary leaflet devDependencies on the map package since this base config fix handles it properly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||