Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
export interface VendoredTanstackRouter {
|
|
history: VendoredTanstackRouterHistory;
|
|
state: VendoredTanstackRouterState;
|
|
options: {
|
|
parseSearch: (search: string) => Record<string, any>;
|
|
};
|
|
matchRoutes: (pathname: string, locationSearch: {}, opts?: {
|
|
preload?: boolean;
|
|
throwOnError?: boolean;
|
|
}) => Array<VendoredTanstackRouterRouteMatch>;
|
|
subscribe(eventType: 'onResolved' | 'onBeforeNavigate', callback: (stateUpdate: {
|
|
toLocation: VendoredTanstackRouterLocation;
|
|
fromLocation?: VendoredTanstackRouterLocation;
|
|
}) => void): () => void;
|
|
}
|
|
interface VendoredTanstackRouterLocation {
|
|
pathname: string;
|
|
search: {};
|
|
state: string;
|
|
}
|
|
interface VendoredTanstackRouterHistory {
|
|
subscribe: (cb: () => void) => () => void;
|
|
}
|
|
interface VendoredTanstackRouterState {
|
|
matches: Array<VendoredTanstackRouterRouteMatch>;
|
|
pendingMatches?: Array<VendoredTanstackRouterRouteMatch>;
|
|
}
|
|
export interface VendoredTanstackRouterRouteMatch {
|
|
routeId: string;
|
|
pathname: string;
|
|
params: {
|
|
[key: string]: string;
|
|
};
|
|
}
|
|
export {};
|
|
//# sourceMappingURL=tanstackrouter-types.d.ts.map |