From 2667c6013cc0a1b1a0bb9ee07ec6a1abc519f8b7 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Thu, 30 Sep 2021 01:27:21 +0900 Subject: [PATCH] Update parameter types of RegExp compile method (#46038) --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 859eb0e77d7..479668ae618 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -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 {