From dff19a5f706cc8b3514a23cf255ec38366959d0c Mon Sep 17 00:00:00 2001 From: bluelovers Date: Fri, 18 May 2018 10:07:46 +0800 Subject: [PATCH] es2018 regexp dotAll --- lib/lib.es2018.regexp.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/lib.es2018.regexp.d.ts b/lib/lib.es2018.regexp.d.ts index 0c3358ef6af..a0017f21438 100644 --- a/lib/lib.es2018.regexp.d.ts +++ b/lib/lib.es2018.regexp.d.ts @@ -28,4 +28,9 @@ interface RegExpExecArray { groups?: { [key: string]: string } -} \ No newline at end of file +} + +interface RegExp { + /** Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression. Default is false. Read-only. */ + readonly dotAll: boolean; +}