- Preparing search index...
- The search index is not available
mocker-api
- pathMatch(options: PathToRegexpOptions & ParseOptions): ((path: string) => ((pathname: string, params?: any) => any))
-
Parameters
-
options: PathToRegexpOptions & ParseOptions
Returns ((path: string) => ((pathname: string, params?: any) => any))
-
- (path: string): ((pathname: string, params?: any) => any)
-
Returns ((pathname: string, params?: any) => any)
-
- (pathname: string, params?: any): any
-
Parameters
-
pathname: string
-
Optional params: any
Returns any