react/scripts/flow
Rubén Norte 9dd378ff12
[RN] Move definition of public instances to ReactNativePrivateInterface (#32446)
## Summary

> [!NOTE]
> This only modifies types, so shouldn't have an impact at runtime.

Some time ago we moved some type definitions from React to React Native
in #26437.

This continues making progress on that so values that are created by
React Native and passed to the React renderer (in this case public
instances) are actually defined in React Native and not in React.

This will allow us to modify the definition of some of these types
without having to make changes in the React repository (in the short
term, we want to refactor PublicInstance from an object to an interface,
and then modify that interface to add all the new DOM methods).

## How did you test this change?

Manually synced `ReactNativeTypes` on top of
https://github.com/facebook/react-native/pull/49602 and verified Flow
passes.
2025-02-24 13:46:06 +00:00
..
config [flow] Upgrade Flow to 0.245.2 (#30919) 2024-09-09 08:41:44 -07:00
createFlowConfigs.js [flow] Remove CI_MAX_WORKERS option 2024-08-20 12:38:27 -04:00
environment.js Rerender useSwipeTransition when direction changes (#32379) 2025-02-20 18:13:09 -05:00
react-devtools.js chore[DevTools]: make clipboardWrite optional for chromium (#32262) 2025-01-30 20:08:17 +00:00
react-native-host-hooks.js [RN] Move definition of public instances to ReactNativePrivateInterface (#32446) 2025-02-24 13:46:06 +00:00
runFlow.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
xplat.js Update RN dynamic flag types (#28427) 2024-03-22 12:23:38 -04:00