Repository navigation
Commit e619ebd
Summary:
X-link: react/metro#2069
Pull Request resolved: #59092
With `experimental.function_and_object_type_is_no_longer_any`, Flow resolves `Object` and `Function` to the builtin class types instead of `any`. These annotations relied on the old meaning, so they become `any`:
- `cli-types`: the `CommandFunction<Object>` of `Command.func`. Commands with exact arg types no longer fit it.
- `yargs`: the `command` handler, which gave handlers an `any` context. `js1 fox` handlers rely on it.
- `debugger-shell`: `SettingsStore`'s default values, which are read by key.
Changelog: [Internal]
Reviewed By: gkz
Differential Revision: D125303674
fbshipit-source-id: 042b5ef6f84dc3d10190d14a4239b8f4cff7cadc
1 parent 1e70d04 commit e619ebd
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- flow-typed/npm
- @react-native-community
- packages/debugger-shell/src/electron
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments