mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 08:26:35 +08:00
8 lines
340 B
TypeScript
8 lines
340 B
TypeScript
// Type definitions for safe-regex 1.1
|
|
// Project: https://github.com/substack/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;
|