From 2cc57b1691a85bd42f10ca5279a50eeb2c46e78a Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:16:16 +0530 Subject: [PATCH 1/3] =?UTF-8?q?fix(geojson):=20clean=20up=20of=20props=20?= =?UTF-8?q?=F0=9F=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> --- src/layers/mapbox/VLayerMapboxGeojson.vue | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/layers/mapbox/VLayerMapboxGeojson.vue b/src/layers/mapbox/VLayerMapboxGeojson.vue index 6d2b1cd3..9ebb28d3 100644 --- a/src/layers/mapbox/VLayerMapboxGeojson.vue +++ b/src/layers/mapbox/VLayerMapboxGeojson.vue @@ -4,7 +4,6 @@ From 899c56990eceea18669dada1ab30fcfc5f36fcd1 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:17:39 +0530 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20update=20typings=20for=20components?= =?UTF-8?q?=20=F0=9F=93=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> --- .../layers/mapbox/VLayerMapboxGeojson.vue.d.ts | 17 ++--------------- types/map/VMap.vue.d.ts | 4 +++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts b/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts index 33a2ab8b..6f613068 100644 --- a/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts +++ b/types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts @@ -1,5 +1,4 @@ /// -import type { FeatureCollection } from 'geojson'; import type { AnyLayer, GeoJSONSourceRaw } from 'mapbox-gl'; import type { PropType } from 'vue'; declare const _default: import('vue').DefineComponent< @@ -15,13 +14,7 @@ declare const _default: import('vue').DefineComponent< required: true; }; source: { - type: PropType< - | FeatureCollection< - import('geojson').Geometry, - import('geojson').GeoJsonProperties - > - | GeoJSONSourceRaw - >; + type: PropType; required: true; }; layer: { @@ -59,13 +52,7 @@ declare const _default: import('vue').DefineComponent< required: true; }; source: { - type: PropType< - | FeatureCollection< - import('geojson').Geometry, - import('geojson').GeoJsonProperties - > - | GeoJSONSourceRaw - >; + type: PropType; required: true; }; layer: { diff --git a/types/map/VMap.vue.d.ts b/types/map/VMap.vue.d.ts index d5e9647b..7dfed2f6 100644 --- a/types/map/VMap.vue.d.ts +++ b/types/map/VMap.vue.d.ts @@ -9,7 +9,9 @@ declare const _default: import('vue').DefineComponent< default: () => {}; }; }, - void, + { + getContainer: () => string; + }, unknown, {}, {},