@tanstack/vue-router
Version:
Modern and scalable routing for Vue applications
22 lines (21 loc) • 935 B
TypeScript
import { ErrorRouteComponent } from './route.js';
import * as Vue from 'vue';
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 {};