$ cnpm install @types/to-regex-range
npm install --save @types/to-regex-range
This package contains type definitions for to-regex-range (https://github.com/micromatch/to-regex-range).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/to-regex-range.
// Type definitions for to-regex-range 5.0
// Project: https://github.com/micromatch/to-regex-range
// Definitions by: Richie Bendall <https://github.com/Richienb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace toRegexRange {
interface Options {
capture?: boolean;
shorthand?: boolean;
relaxZeros?: boolean;
}
}
declare function toRegexRange(
min: number | string,
max?: number | string,
options?: toRegexRange.Options
): string;
export = toRegexRange;
These definitions were written by Richie Bendall.
Copyright 2013 - present © cnpmjs.org | Home |