mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
21 lines
539 B
TypeScript
21 lines
539 B
TypeScript
// Type definitions for path-to-regexp v1.0.3
|
|
// Project: https://github.com/pillarjs/path-to-regexp
|
|
// Definitions by: xica <https://github.com/xica>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module "path-to-regexp" {
|
|
|
|
function pathToRegexp(path: string, keys: string[], options?: pathToRegexp.Options): RegExp;
|
|
|
|
module pathToRegexp {
|
|
|
|
interface Options {
|
|
sensitive?: boolean;
|
|
strict?: boolean;
|
|
end?: boolean;
|
|
}
|
|
}
|
|
|
|
export = pathToRegexp;
|
|
}
|