UNPKG

vue3-openlayers

Version:
27 lines (25 loc) 1.04 kB
import { ProjectionDefinition } from 'proj4'; import { default as Projection } from 'ol/proj/Projection'; import { Extent } from 'ol/extent'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<{ projectionName: string; projectionDef: string | ProjectionDefinition; projectionExtent?: Extent; }>, { projection: Projection; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ projectionName: string; projectionDef: string | ProjectionDefinition; projectionExtent?: Extent; }>>>, {}, {}>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: PropType<T[K]>; required: true; }; };