Skip to content

Commit

Permalink
fix: type is too deep
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Jan 30, 2024
1 parent 1c6efed commit a15e410
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion components/MainMap/MapFeatures.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions components/Map/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion components/Map/MapPois.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export default defineNuxtComponent({
methods: {
onMapInit(map: Map): void {
// @ts-expect-error: Type is too deep
this.map = map
},
Expand Down

0 comments on commit a15e410

Please sign in to comment.