Skip to content

Commit

Permalink
fix: update types to match Typescript 4.9
Browse files Browse the repository at this point in the history
Fixes uhop#140
  • Loading branch information
JamieMagee committed Nov 16, 2022
1 parent 559800d commit 19f1420
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions re2.d.ts
Expand Up @@ -3,6 +3,7 @@ declare module 're2' {
interface RE2MatchArray<K> extends Array<K> {
index?: number;
input?: K;
0: string;
groups?: {
[key: string]: string
}
Expand All @@ -11,6 +12,7 @@ declare module 're2' {
interface RE2ExecArray<K> extends Array<K> {
index: number;
input: K;
0: string;
groups?: {
[key: string]: string
}
Expand Down

0 comments on commit 19f1420

Please sign in to comment.