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:
parent
8bdf162bcc
commit
8e17bfd144
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue