mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
30755244ec
This setting is an incremental path to the next Flow version enforcing
type annotations on most functions (except some inline callbacks).
Used
```
node_modules/.bin/flow codemod annotate-functions-and-classes --write .
```
to add a majority of the types with some hand cleanup when for large
inferred objects that should just be `Fiber` or weird constructs
including `any`.
Suppressed the remaining issues.
Builds on #25918
DiffTrain build for [0b4f443020](https://github.com/facebook/react/commit/0b4f443020af386f2b48c47c074cb504ed672dc8)
[View git log for this commit](https://github.com/facebook/react/commits/0b4f443020af386f2b48c47c074cb504ed672dc8)