UNPKG

@tanstack/vue-router

Version:

Modern and scalable routing for Vue applications

22 lines (21 loc) 937 B
import * as Vue from 'vue'; import type { ErrorRouteComponent } from './route'; type CatchBoundaryProps = { getResetKey: () => number | string; children: Vue.VNode; errorComponent?: ErrorRouteComponent | Vue.Component; onCatch?: (error: Error) => void; }; export declare function CatchBoundary(props: CatchBoundaryProps): Vue.VNode<Vue.RendererNode, Vue.RendererElement, { [key: string]: any; }>; export declare const ErrorComponent: Vue.DefineComponent<Vue.ExtractPropTypes<{ error: ObjectConstructor; reset: FunctionConstructor; }>, () => Vue.VNode<Vue.RendererNode, Vue.RendererElement, { [key: string]: any; }>, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{ error: ObjectConstructor; reset: FunctionConstructor; }>> & Readonly<{}>, {}, {}, {}, {}, string, Vue.ComponentProvideOptions, true, {}, any>; export {};