mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update parameter types of RegExp compile method (#46038)
This commit is contained in:
Vendored
+1
-1
@@ -945,7 +945,7 @@ interface RegExp {
|
||||
|
||||
// Non-standard extensions
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
compile(): this;
|
||||
compile(pattern: string, flags?: string): this;
|
||||
}
|
||||
|
||||
interface RegExpConstructor {
|
||||
|
||||
Reference in New Issue
Block a user