Not sure if I put code in right spot, but this is to add support to RegExp$matchResult which has been in flow since at least version .100. Currently, if Typescript uses RegExpMatchArray it is not transpiled in Flow and remains RegExpMatchArray which doesn't exist in Flow and should be RegExp$matchResult.
Not sure if I put code in right spot, but this is to add support to RegExp$matchResult which has been in flow since at least version .100. Currently, if Typescript uses RegExpMatchArray it is not transpiled in Flow and remains RegExpMatchArray which doesn't exist in Flow and should be RegExp$matchResult.
Typescript code
Flow code BEFORE CHANGE
Flow code AFTER CHANGE