avancement planning
This commit is contained in:
+3
@@ -134,6 +134,9 @@ export type Path = string | TokenData;
|
||||
* Transform a path into a match function.
|
||||
*/
|
||||
export declare function match<P extends ParamData>(path: Path | Path[], options?: MatchOptions & ParseOptions): MatchFunction<P>;
|
||||
/**
|
||||
* Transform a path into a regular expression and capture keys.
|
||||
*/
|
||||
export declare function pathToRegexp(path: Path | Path[], options?: PathToRegexpOptions & ParseOptions): {
|
||||
regexp: RegExp;
|
||||
keys: Keys;
|
||||
|
||||
Reference in New Issue
Block a user