fix some typescript errors

This commit is contained in:
vcoppe
2025-11-10 13:11:44 +01:00
parent bce7b5984f
commit 16023b0688
13 changed files with 73 additions and 44 deletions

View File

@@ -186,8 +186,8 @@ export const basemaps: { [key: string]: string | StyleSpecification } = {
},
],
},
ignFrPlan: ignFrPlan,
ignFrTopo: ignFrTopo,
ignFrPlan: ignFrPlan as StyleSpecification,
ignFrTopo: ignFrTopo as StyleSpecification,
ignFrScan25: {
version: 8,
sources: {
@@ -209,7 +209,7 @@ export const basemaps: { [key: string]: string | StyleSpecification } = {
},
],
},
ignFrSatellite: ignFrSatellite,
ignFrSatellite: ignFrSatellite as StyleSpecification,
ignEs: {
version: 8,
sources: {
@@ -366,7 +366,7 @@ export const overlays: { [key: string]: string | StyleSpecification } = {
},
],
},
bikerouterGravel: bikerouterGravel,
bikerouterGravel: bikerouterGravel as StyleSpecification,
swisstopoSlope: {
version: 8,
sources: {