@types/to-regex-range
TypeScript icon, indicating that this package has built-in type declarations

5.0.3 • Public • Published

Installation

npm install --save @types/to-regex-range

Summary

This package contains type definitions for to-regex-range (https://github.com/micromatch/to-regex-range).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/to-regex-range.

index.d.ts

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;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Richie Bendall.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 5.0.3
    32,624
  • 5.0.2
    80
  • 5.0.1
    1,866
  • 5.0.0
    3,051

Package Sidebar

Install

npm i @types/to-regex-range

Weekly Downloads

31,610

Version

5.0.3

License

MIT

Unpacked Size

3.2 kB

Total Files

5

Last publish

Collaborators

  • types