diff --git a/re2.d.ts b/re2.d.ts index 2c1c708..a840d0e 100644 --- a/re2.d.ts +++ b/re2.d.ts @@ -3,6 +3,7 @@ declare module 're2' { interface RE2MatchArray extends Array { index?: number; input?: K; + 0: string; groups?: { [key: string]: string } @@ -11,6 +12,7 @@ declare module 're2' { interface RE2ExecArray extends Array { index: number; input: K; + 0: string; groups?: { [key: string]: string }