feat: update to svelte 5

This commit is contained in:
uku 2024-10-21 10:44:15 +02:00
parent 2f1e0ba787
commit b110745ac5
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
3 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@
lignes.features.forEach((feature) => {
const color = 'rgb(' + feature.properties.couleur.replaceAll(' ', ',') + ')';
// @ts-ignore
// @ts-expect-error feature.type is not strict enough, FIXME
L.geoJSON(feature, { style: { color } }).addTo(map);
});
});