Commit 790a576
committed
[flow] upgrade to 0.225.1 (#27871)
This Flow upgrade includes 2 fixes:
- Remove `React$StatelessFunctionalComponent` as that was replaced by
just `React$AbstractComponent` as Flow doesn't make any guarantees, see
the Flow change here:
facebook/flow@521317c
- Flow no longer allows `number` type indexing into objects which
discovered an incorrect type that is actually an array of the data.
Used this command to upgrade
```
yarn add -W flow-bin flow-remove-types hermes-parser hermes-eslint
```
and ran `yarn flow-ci` to check for errors in different configurations.
DiffTrain build for commit 45d61cf.1 parent 0a8c177 commit 790a576
File tree
7 files changed
+9
-9
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
7 files changed
+9
-9
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25476 | 25476 | | |
25477 | 25477 | | |
25478 | 25478 | | |
25479 | | - | |
| 25479 | + | |
25480 | 25480 | | |
25481 | 25481 | | |
25482 | 25482 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9083 | 9083 | | |
9084 | 9084 | | |
9085 | 9085 | | |
9086 | | - | |
| 9086 | + | |
9087 | 9087 | | |
9088 | 9088 | | |
9089 | 9089 | | |
| |||
9114 | 9114 | | |
9115 | 9115 | | |
9116 | 9116 | | |
9117 | | - | |
| 9117 | + | |
9118 | 9118 | | |
9119 | 9119 | | |
9120 | 9120 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9509 | 9509 | | |
9510 | 9510 | | |
9511 | 9511 | | |
9512 | | - | |
| 9512 | + | |
9513 | 9513 | | |
9514 | 9514 | | |
9515 | 9515 | | |
| |||
9540 | 9540 | | |
9541 | 9541 | | |
9542 | 9542 | | |
9543 | | - | |
| 9543 | + | |
9544 | 9544 | | |
9545 | 9545 | | |
9546 | 9546 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments