Skip to content

Commit

Permalink
fix: generate new typings using vue-tsc
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <[email protected]>
  • Loading branch information
vinayakkulkarni committed Apr 20, 2022
1 parent 7008138 commit a2df6fd
Show file tree
Hide file tree
Showing 9 changed files with 149 additions and 12 deletions.
4 changes: 4 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import VControlFullscreen from './controls/VControlFullscreen.vue';
import VControlGeolocate from './controls/VControlGeolocate.vue';
import VControlNavigation from './controls/VControlNavigation.vue';
import VControlScale from './controls/VControlScale.vue';
import VLayerDeckArc from './layers/deck.gl/VLayerDeckArc.vue';
import VLayerDeckGeojson from './layers/deck.gl/VLayerDeckGeojson.vue';
import VLayerMapboxCanvas from './layers/mapbox/VLayerMapboxCanvas.vue';
import VLayerMapboxGeojson from './layers/mapbox/VLayerMapboxGeojson.vue';
import VLayerMapboxImage from './layers/mapbox/VLayerMapboxImage.vue';
Expand All @@ -16,6 +18,8 @@ export {
VMap,
VMarker,
VPopup,
VLayerDeckArc,
VLayerDeckGeojson,
VLayerMapboxCanvas,
VLayerMapboxGeojson,
VLayerMapboxImage,
Expand Down
61 changes: 61 additions & 0 deletions types/layers/deck.gl/VLayerDeckArc.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import type { PropType } from 'vue';
declare const _default: import('vue').DefineComponent<
{
layerId: {
type: PropType<string>;
default: string;
required: true;
};
data: {
type: PropType<any>;
required: true;
};
options: {
type: ObjectConstructor;
required: true;
};
before: {
type: PropType<string>;
default: string;
required: false;
};
},
void,
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
Readonly<
import('vue').ExtractPropTypes<{
layerId: {
type: PropType<string>;
default: string;
required: true;
};
data: {
type: PropType<any>;
required: true;
};
options: {
type: ObjectConstructor;
required: true;
};
before: {
type: PropType<string>;
default: string;
required: false;
};
}>
>,
{
layerId: string;
before: string;
}
>;
export default _default;
72 changes: 72 additions & 0 deletions types/layers/deck.gl/VLayerDeckGeojson.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { FeatureCollection } from 'geojson';
import type { PropType } from 'vue';
declare const _default: import('vue').DefineComponent<
{
layerId: {
type: PropType<string>;
default: string;
required: true;
};
data: {
type: PropType<
FeatureCollection<
import('geojson').Geometry,
import('geojson').GeoJsonProperties
>
>;
required: true;
};
options: {
type: ObjectConstructor;
required: true;
};
before: {
type: PropType<string>;
default: string;
required: false;
};
},
void,
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
Record<string, any>,
string,
import('vue').VNodeProps &
import('vue').AllowedComponentProps &
import('vue').ComponentCustomProps,
Readonly<
import('vue').ExtractPropTypes<{
layerId: {
type: PropType<string>;
default: string;
required: true;
};
data: {
type: PropType<
FeatureCollection<
import('geojson').Geometry,
import('geojson').GeoJsonProperties
>
>;
required: true;
};
options: {
type: ObjectConstructor;
required: true;
};
before: {
type: PropType<string>;
default: string;
required: false;
};
}>
>,
{
layerId: string;
before: string;
}
>;
export default _default;
4 changes: 2 additions & 2 deletions types/layers/mapbox/VLayerMapboxCanvas.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ declare const _default: import('vue').DefineComponent<
}>
>,
{
sourceId: string;
layerId: string;
layer: AnyLayer;
before: string;
sourceId: string;
layer: AnyLayer;
}
>;
export default _default;
4 changes: 2 additions & 2 deletions types/layers/mapbox/VLayerMapboxGeojson.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ declare const _default: import('vue').DefineComponent<
}>
>,
{
sourceId: string;
layerId: string;
layer: AnyLayer;
before: string;
sourceId: string;
layer: AnyLayer;
}
>;
export default _default;
4 changes: 2 additions & 2 deletions types/layers/mapbox/VLayerMapboxImage.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ declare const _default: import('vue').DefineComponent<
}>
>,
{
sourceId: string;
layerId: string;
layer: AnyLayer;
before: string;
sourceId: string;
layer: AnyLayer;
}
>;
export default _default;
4 changes: 2 additions & 2 deletions types/layers/mapbox/VLayerMapboxRaster.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ declare const _default: import('vue').DefineComponent<
}>
>,
{
sourceId: string;
layerId: string;
layer: AnyLayer;
before: string;
sourceId: string;
layer: AnyLayer;
}
>;
export default _default;
4 changes: 2 additions & 2 deletions types/layers/mapbox/VLayerMapboxVector.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ declare const _default: import('vue').DefineComponent<
}>
>,
{
sourceId: string;
layerId: string;
layer: AnyLayer;
before: string;
sourceId: string;
layer: AnyLayer;
}
>;
export default _default;
4 changes: 2 additions & 2 deletions types/layers/mapbox/VLayerMapboxVideo.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ declare const _default: import('vue').DefineComponent<
}>
>,
{
sourceId: string;
layerId: string;
layer: AnyLayer;
before: string;
sourceId: string;
layer: AnyLayer;
}
>;
export default _default;

0 comments on commit a2df6fd

Please sign in to comment.