UNPKG

mocker-api

Version:

This is dev support mock RESTful API.

3 lines (2 loc) 212 B
import type { PathToRegexpOptions, ParseOptions } from 'path-to-regexp'; export declare function pathMatch(options: PathToRegexpOptions & ParseOptions): (path: string) => (pathname: string, params?: any) => any;