Create specific module in RN to define the types for host instances and host components that ReactNativeTypes defines (#49601)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49601

Changelog: [internal]

This creates a new module in React Native to define some of the types related to `HostInstance` that are currently defined in `ReactNativeTypes` (synced from the React repo).

We want to remove the types from `ReactNativeTypes` so this is a necessary initial step.

Reviewed By: huntie

Differential Revision: D69996010

fbshipit-source-id: 21cfed4c222e22332936e56aca895fe578809792
This commit is contained in:
Rubén Norte
2025-02-24 05:32:43 -08:00
committed by Facebook GitHub Bot
parent 14b0c27045
commit e630b2ca18
82 changed files with 269 additions and 186 deletions
@@ -8,8 +8,8 @@
* @format
*/
import type {HostComponent} from 'react-native';
import type {ViewProps} from 'react-native/Libraries/Components/View/ViewPropTypes';
import type {HostComponent} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';
import type {
BubblingEventHandler,
Double,