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:
Rubén Norte 2023-03-22 15:39:52 +00:00 committed by GitHub
parent 8bdf162bcc
commit 8e17bfd144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {