UNPKG

@sgpinkus/my-vue-router

Version:
29 lines (28 loc) 1.02 kB
interface RoutePathProps { path: string; name?: never; params?: never; } interface RouteNameProps { name: string; params?: Record<string, boolean | number | string>; path?: never; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; default?(_: {}): any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<RoutePathProps | RouteNameProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RoutePathProps | RouteNameProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };