diff --git a/components/MainMap/MapFeatures.vue b/components/MainMap/MapFeatures.vue index 82c656526..58ecce689 100644 --- a/components/MainMap/MapFeatures.vue +++ b/components/MainMap/MapFeatures.vue @@ -223,7 +223,6 @@ export default defineNuxtComponent({ // Map and style init and changes onMapInit(map: Map) { - // @ts-expect-error: type is too deep this.map = map this.map.on('click', this.onClick) diff --git a/components/Map/Map.vue b/components/Map/Map.vue index 1ace4a5b4..5ff19ac52 100644 --- a/components/Map/Map.vue +++ b/components/Map/Map.vue @@ -108,8 +108,7 @@ export default defineNuxtComponent({ }, mounted() { - // @ts-expect-error: Instance is too deep - this.fullscreenControlObject = new FullscreenControl({}) + this.fullscreenControlObject = new FullscreenControl() const map = new Map({ container: 'map', diff --git a/components/Map/MapPois.vue b/components/Map/MapPois.vue index 945adc2ef..ae53f0526 100644 --- a/components/Map/MapPois.vue +++ b/components/Map/MapPois.vue @@ -104,7 +104,6 @@ export default defineNuxtComponent({ methods: { onMapInit(map: Map): void { - // @ts-expect-error: Type is too deep this.map = map },