Files
DefinitelyTyped/path-to-regexp/path-to-regexp.d.ts
2015-11-08 09:53:56 +07:00

23 lines
542 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;
}