@samitouri / QOS-React-2 / commits / 8e17bfd144

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.

Rubén Norte committed Mar 22, 2023 at 15:39 UTC 8e17bfd144f1794398b2cb37ccfbd2cfcb844566
1 file changed +1 -1
packages/react-native-renderer/src/ReactNativeTypes.js
+1 -1
@@ -213,7 +213,7 @@ export type ReactNativeType = {
213 };
214
215 export opaque type Node = mixed;
216 -type InternalInstanceHandle = mixed;
216 +export opaque type InternalInstanceHandle = mixed;
217 type PublicInstance = mixed;
218
219 export type ReactFabricType = {