@sentry/remix
Version:
Official Sentry SDK for Remix
13 lines • 529 B
TypeScript
/**
* Check if the route manifest is available (injected by the Vite plugin).
* @returns True if the manifest is available, false otherwise.
*/
export declare function hasManifest(): boolean;
/**
* Parameterize a route using the route manifest.
*
* @param route - The route to parameterize.
* @returns The parameterized route or undefined if no parameterization is needed.
*/
export declare const maybeParameterizeRemixRoute: (route: string) => string | undefined;
//# sourceMappingURL=remixRouteParameterization.d.ts.map