[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: https://github.com/facebook/flow/commit/521317c48f44ffb5eac072a7b2548a72b0745095 - 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.
J
Jan Kassens committed
45d61cf7effdba6bbd9835bb427c99c95beb7e17
Parent: c5b9375
Committed by GitHub <noreply@github.com>
on 1/2/2024, 7:39:14 PM