Repository navigation
Commit c1fefe7
Use
Summary:
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]
Differential Revision: D125303674any for untyped Object/Function in flow-typed and debugger-shell1 parent a7a6b39 commit c1fefe7
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