File: index.d.ts

package info (click to toggle)
node-to-regex 3.0.2%2B~cs6.3.28-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,252 kB
  • sloc: javascript: 10,225; sh: 10; makefile: 7
file content (7 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download
1
2
3
4
5
6
7
// Type definitions for safe-regex 1.1
// Project: https://github.com/davisjam/safe-regex
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export = safe_regex;
declare function safe_regex(re: string | RegExp, opts?: { limit?: number | undefined }): boolean;