/opt/canhelp/node_modules/next/dist/server/route-matchers
NameSizeModeActions
app-page-route-matcher.d.ts2600644editdlrm
app-page-route-matcher.js5010644editdlrm
app-page-route-matcher.js.map7470644editdlrm
app-route-route-matcher.d.ts2360644editdlrm
app-route-route-matcher.js3970644editdlrm
app-route-route-matcher.js.map4790644editdlrm
locale-route-matcher.d.ts18710644editdlrm
locale-route-matcher.js31230644editdlrm
locale-route-matcher.js.map46220644editdlrm
pages-api-route-matcher.d.ts4010644editdlrm
pages-api-route-matcher.js8470644editdlrm
pages-api-route-matcher.js.map7640644editdlrm
pages-route-matcher.d.ts3820644editdlrm
pages-route-matcher.js8190644editdlrm
pages-route-matcher.js.map7350644editdlrm
route-matcher.d.ts10660644editdlrm
route-matcher.js16310644editdlrm
route-matcher.js.map30050644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/route-matchers/route-matcher.d.ts (1066B)
import type { RouteMatch } from '../route-matches/route-match'; import type { RouteDefinition } from '../route-definitions/route-definition'; import type { Params } from '../request/params'; type RouteMatchResult = { params?: Params; }; export declare class RouteMatcher { readonly definition: D; private readonly dynamic?; /** * When set, this is an array of all the other matchers that are duplicates of * this one. This is used by the managers to warn the users about possible * duplicate matches on routes. */ duplicated?: Array; constructor(definition: D); /** * Identity returns the identity part of the matcher. This is used to compare * a unique matcher to another. This is also used when sorting dynamic routes, * so it must contain the pathname part. */ get identity(): string; get isDynamic(): boolean; match(pathname: string): RouteMatch | null; test(pathname: string): RouteMatchResult | null; } export {};