UNPKG

307 BTypeScriptView Raw
1declare namespace toRegexRange {
2 interface Options {
3 capture?: boolean;
4 shorthand?: boolean;
5 relaxZeros?: boolean;
6 }
7}
8
9declare function toRegexRange(
10 min: number | string,
11 max?: number | string,
12 options?: toRegexRange.Options,
13): string;
14
15export = toRegexRange;