Files
DefinitelyTyped/path-to-regexp/path-to-regexp.d.ts
2015-03-16 03:26:24 +09:00

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;
}