mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
40fb50ae6c
## Summary
The `flow-api-translator` from the `hermes` repo does not support flow
type spreads. It is currently not able to digest the ReactNativeTypes
file as it contains unsupported syntax. The simplest solution is to
change the type of the `TouchedViewDataAtPoint` to equivalent, yet
supported by the Flow tooling. In this case the intersection can be used
as
the `TouchedViewDataAtPoint` and `InspectorData` have no common
property.
## How did you test this change?
Run yarn flow native
DiffTrain build for [e670e72fa0](https://github.com/facebook/react/commit/e670e72fa076449e40172e20d17cc67c1c15419c)