mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Make InternalInstanceHandle type opaque in ReactNativeTypes (#26461)
## Summary This type was defined as `mixed` to avoid bringing the whole definition from React to React Native, but its definition is visible to RN. This type should be opaque to RN, so this makes it explicit. ## How did you test this change? Applied the same changes in the React Native repository and could use the type without issues.
This commit is contained in:
@@ -213,7 +213,7 @@ export type ReactNativeType = {
|
||||
};
|
||||
|
||||
export opaque type Node = mixed;
|
||||
type InternalInstanceHandle = mixed;
|
||||
export opaque type InternalInstanceHandle = mixed;
|
||||
type PublicInstance = mixed;
|
||||
|
||||
export type ReactFabricType = {
|
||||
|
||||
Reference in New Issue
Block a user