diff --git a/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js b/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js index bd5cf5eaace..24cc37e31e7 100644 --- a/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js +++ b/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js @@ -7,7 +7,7 @@ * @noformat * @nolint * @flow strict - * @generated SignedSource<> + * @generated SignedSource<<4ab83fd2606d6a4d374ef914f231d9c1>> */ import type { @@ -138,36 +138,6 @@ export type RenderRootOptions = { onDefaultTransitionIndicator?: () => void | (() => void), }; -/** - * Flat ReactNative renderer bundles are too big for Flow to parse efficiently. - * Provide minimal Flow typing for the high-level RN API and call it a day. - */ -export type ReactNativeType = { - findHostInstance_DEPRECATED( - componentOrHandle: ?(React.ElementRef | number), - ): ?PublicInstance, - findNodeHandle( - componentOrHandle: ?(React.ElementRef | number), - ): ?number, - isChildPublicInstance(parent: PublicInstance, child: PublicInstance): boolean, - dispatchCommand( - handle: PublicInstance, - command: string, - args: Array, - ): void, - sendAccessibilityEvent(handle: PublicInstance, eventType: string): void, - render( - element: React.MixedElement, - containerTag: number, - callback: ?() => void, - options: ?RenderRootOptions, - ): ?React.ElementRef, - unmountComponentAtNode(containerTag: number): void, - unmountComponentAtNodeAndRemoveContainer(containerTag: number): void, - +unstable_batchedUpdates: (fn: (T) => void, bookkeeping: T) => void, - ... -}; - export opaque type Node = mixed; export opaque type InternalInstanceHandle = mixed;