RegExp.prototype.exec returns `any`
Open
Library definitions
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, RegExp.prototype.exec returns `any`, which disables all checks.
At least it should be the same as String.prototype.match, that is `?Array` currently but could be changed in https://github.com/facebook/flow/issues/3554.
Contributor guide
Assessment
This issue has not been assessed yet.