Module next-server/lib/router/utils/path-match
Variables
Const customRouteMatcherOptions
Const matcherOptions
Functions
Const default
- default(customRoute?: boolean): (path: string) => (pathname: undefined | null | string, params?: any) => any
-
Parameters
-
Optional customRoute: boolean
Returns (path: string) => (pathname: undefined | null | string, params?: any) => any
-
- (path: string): (pathname: undefined | null | string, params?: any) => any
-
Parameters
Returns (pathname: undefined | null | string, params?: any) => any
-
- (pathname: undefined | null | string, params?: any): any
-
Parameters
-
pathname: undefined | null | string
-
Optional params: any
Returns any