dillon1000/react
Commit
Browse files [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.
Changed paths7 files
First-parent comparison.eslintrc.js ModifiedM package.json ModifiedM packages/react-devtools-shared/src/devtools/views/Components/Components.js ModifiedM packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js ModifiedM packages/react-devtools-shared/src/devtools/views/portaledContent.js ModifiedM packages/react/index.js ModifiedM yarn.lock ModifiedPatch
Files changed
Rendering syntax-highlighted changes…