Repository navigation
Commit b23e9a2
authored
Type the LogBox URL matcher's
Summary:
`LogBoxMessage` stores `regex.exec(...)` results in a local annotated as `RegExp$matchResult`, Flow's alias for `RegExpMatchArray` (the result type of `String#match`). Annotate it with `RegExpExecArray`, the type `exec` returns. That stays correct once `RegExpMatchArray`'s `index` and `input` become optional, as in TypeScript's library. Nothing changes at runtime.
Changelog: [Internal]
Differential Revision: D128877320
Pull Request resolved: #59736exec result as RegExpExecArray
1 parent f1f1474 commit b23e9a2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments