Update parameter types of RegExp compile method (#46038)

This commit is contained in:
Yoshiya Hinosawa
2021-09-29 09:27:21 -07:00
committed by GitHub
parent 0cd2330c7a
commit 2667c6013c
+1 -1
View File
@@ -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 {