Fix CI typecheck: disable noUncheckedSideEffectImports

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>
This commit is contained in:
Ullrich Schäfer 2026-04-13 00:10:36 +02:00
parent 9f583e6777
commit c33c8da09b
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
3 changed files with 5 additions and 13 deletions

View file

@ -20,10 +20,5 @@
"react-dom": ">=18",
"leaflet": ">=1.9",
"react-leaflet": ">=5"
},
"devDependencies": {
"@types/leaflet": "^1.9.21",
"leaflet": "^1.9.4",
"react-leaflet": "^5.0.0"
}
}