UNPKG

@sentry/remix

Version:
10 lines • 537 B
import type { MatcherLike, RequestContextLike } from '../types'; /** * Resolve the low cardinality route pattern for a request. * * The request context never carries the matched pattern: the router matches after its middleware is * entered, and only writes `params` back. So this re-runs the match against the router's own matcher, * applying the router's own selection rules. */ export declare function resolveRoutePattern(matcher: MatcherLike, context: RequestContextLike): string | undefined; //# sourceMappingURL=route.d.ts.map