Skip to content

Commit

Permalink
docs: update typings for components 📖
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <[email protected]>
  • Loading branch information
vinayakkulkarni committed Jul 7, 2022
1 parent f9269b5 commit 899c569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
17 changes: 2 additions & 15 deletions types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference types="@types/mapbox-gl" />
import type { FeatureCollection } from 'geojson';
import type { AnyLayer, GeoJSONSourceRaw } from 'mapbox-gl';
import type { PropType } from 'vue';
declare const _default: import('vue').DefineComponent<
Expand All @@ -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<GeoJSONSourceRaw>;
required: true;
};
layer: {
Expand Down Expand Up @@ -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<GeoJSONSourceRaw>;
required: true;
};
layer: {
Expand Down
4 changes: 3 additions & 1 deletion types/map/VMap.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ declare const _default: import('vue').DefineComponent<
default: () => {};
};
},
void,
{
getContainer: () => string;
},
unknown,
{},
{},
Expand Down

0 comments on commit 899c569

Please sign in to comment.