mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge c499c4602c into sapling-pr-archive-poteto
This commit is contained in:
+2
-1
@@ -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,
|
||||
...
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user