Skip to content

Commit

Permalink
ts 5.6 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Sep 14, 2024
1 parent a2f0a3a commit 852a1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regexp/regexp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace $ {
super( source , flags )
}

*[Symbol.matchAll] (str:string): IterableIterator< RegExpMatchArray & $mol_type_override< RegExpMatchArray, { groups?: { [ key in keyof Groups ] : string } } > > {
*[Symbol.matchAll] (str:string): RegExpStringIterator< RegExpMatchArray & $mol_type_override< RegExpMatchArray, { groups?: { [ key in keyof Groups ] : string } } > > {
const index = this.lastIndex
this.lastIndex = 0
try {
Expand Down

0 comments on commit 852a1af

Please sign in to comment.