Files
med-notes/.pnpm-store/v10/files/c1/7724962d9c55c1efe77c5e4174a1694b5e65941dd32080e2f589e39df058f58686308aea98a64066526bb78bcc25b26b9f5fc8171f776d73aff318b6398a32
2025-05-09 05:30:08 +02:00

21 lines
612 B
Plaintext

import { RouteIds } from './routeInfo.js';
import { RegisteredRouter } from './router.js';
export type NotFoundError = {
/**
@deprecated
Use `routeId: rootRouteId` instead
*/
global?: boolean;
/**
@private
Do not use this. It's used internally to indicate a path matching error
*/
_global?: boolean;
data?: any;
throw?: boolean;
routeId?: RouteIds<RegisteredRouter['routeTree']>;
headers?: HeadersInit;
};
export declare function notFound(options?: NotFoundError): NotFoundError;
export declare function isNotFound(obj: any): obj is NotFoundError;