Initial boiler plate project
This commit is contained in:
8
node_modules/next/dist/shared/lib/router/utils/route-matcher.d.ts
generated
vendored
Normal file
8
node_modules/next/dist/shared/lib/router/utils/route-matcher.d.ts
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
import type { RouteRegex } from './route-regex';
|
||||
export interface RouteMatchFn {
|
||||
(pathname: string | null | undefined): false | Params;
|
||||
}
|
||||
export interface Params {
|
||||
[param: string]: any;
|
||||
}
|
||||
export declare function getRouteMatcher({ re, groups }: RouteRegex): RouteMatchFn;
|
||||
Reference in New Issue
Block a user