$ cnpm install @types/glob-to-regexp
npm install --save @types/glob-to-regexp
This package contains type definitions for glob-to-regexp (https://github.com/fitzgen/glob-to-regexp#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/glob-to-regexp.
// Type definitions for glob-to-regexp 0.4
// Project: https://github.com/fitzgen/glob-to-regexp#readme
// Definitions by: whatasoda <https://github.com/whatasoda>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace GlobToRegExp;
export = GlobToRegExp;
declare function GlobToRegExp(glob: string, options?: GlobToRegExp.Options): RegExp;
declare namespace GlobToRegExp {
interface Options {
extended?: boolean | undefined;
globstar?: boolean | undefined;
flags ?: string | undefined;
}
}
GlobToRegExpThese definitions were written by whatasoda.
Copyright 2013 - present © cnpmjs.org | Home |