fix first match in `RegExpMatchArray` being possibly undefined when `noUncheckedIndexedAccess` is enabled
Fixes #42296
The TypeScript team hasn't accepted the linked issue #42296. If you can get it accepted, this PR will have a better chance of being reviewed.
@typescript-bot run dt @typescript-bot user test this
Heya @sandersn, I've started to run the diff-based user code test suite on this PR at 93e0cfe3c10a51c90f87573bcaf1a4f260c55495. You can monitor the build here.
Update: The results are in!
Heya @sandersn, I've started to run the parallelized Definitely Typed test suite on this PR at 93e0cfe3c10a51c90f87573bcaf1a4f260c55495. You can monitor the build here.
@sandersn Great news! no new errors were found between main..refs/pull/49682/merge