Merge c499c4602c into sapling-pr-archive-poteto

This commit is contained in:
lauren
2025-02-10 13:52:33 -05:00
committed by GitHub
+2 -1
View File
@@ -10,6 +10,7 @@
*/
import type {ElementRef, ElementType, MixedElement} from 'react';
import {type PublicRootInstance} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';
export type MeasureOnSuccessCallback = (
x: number,
@@ -231,7 +232,6 @@ export opaque type Node = mixed;
export opaque type InternalInstanceHandle = mixed;
type PublicInstance = mixed;
type PublicTextInstance = mixed;
export opaque type PublicRootInstance = mixed;
export type ReactFabricType = {
findHostInstance_DEPRECATED<TElementType: ElementType>(
@@ -261,6 +261,7 @@ export type ReactFabricType = {
getPublicInstanceFromInternalInstanceHandle(
internalInstanceHandle: InternalInstanceHandle,
): PublicInstance | PublicTextInstance | null,
getPublicInstanceFromRootTag(rootTag: number): PublicRootInstance | null,
...
};