mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
8 lines
328 B
TypeScript
8 lines
328 B
TypeScript
// 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 }): boolean;
|