diff --git a/packages/shared/ReactTypes.js b/packages/shared/ReactTypes.js index 36d1a40008b..3443cb13de8 100644 --- a/packages/shared/ReactTypes.js +++ b/packages/shared/ReactTypes.js @@ -9,8 +9,6 @@ export type ReactNode = | React$Element - | ReactCall - | ReactReturn | ReactPortal | ReactText | ReactFragment @@ -25,29 +23,6 @@ export type ReactText = string | number; export type ReactEmpty = null | void | boolean; -export type ReactCall = { - $$typeof: Symbol | number, - type: Symbol | number, - key: null | string, - ref: null, - props: { - props: any, - // This should be a more specific CallHandler - handler: (props: any, returns: Array) => ReactNodeList, - children?: ReactNodeList, - }, -}; - -export type ReactReturn = { - $$typeof: Symbol | number, - type: Symbol | number, - key: null, - ref: null, - props: { - value: V, - }, -}; - export type ReactProvider = { $$typeof: Symbol | number, type: ReactProviderType,