diff --git a/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js b/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js index 26ab3007d020bf..85d273893178b8 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<<9cf3e28d6ca0299bc0bb5caa75b19556>> + * @generated SignedSource<> */ import type {ElementRef, ElementType, MixedElement} from 'react'; @@ -133,9 +133,10 @@ declare const ensureNativeMethodsAreSynced: NativeMethods; (ensureNativeMethodsAreSynced: INativeMethods); export type HostInstance = NativeMethods; -/*:: -export type HostComponent = component(ref: React$RefSetter, ...Config); -*/ +export type HostComponent = component( + ref: React$RefSetter, + ...Config +); type InspectorDataProps = $ReadOnly<{ [propName: string]: string, @@ -206,9 +207,7 @@ export type ReactNativeType = { componentOrHandle: ?(ElementRef | number), ): ?number, isChildPublicInstance( - // eslint-disable-next-line no-undef parent: PublicInstance | HostComponent, - // eslint-disable-next-line no-undef child: PublicInstance | HostComponent, ): boolean, dispatchCommand(