diff --git a/Libraries/Text/Text.js b/Libraries/Text/Text.js index 1f1698bc25ed4b..884c86a5e96412 100644 --- a/Libraries/Text/Text.js +++ b/Libraries/Text/Text.js @@ -36,8 +36,7 @@ type ResponseHandlers = $ReadOnly<{| type Props = $ReadOnly<{ ...TextProps, - // $FlowFixMe - Typing ReactNativeComponent revealed errors - forwardedRef: ?React.Ref>, + forwardedRef: ?React.Ref<'RCTText' | 'RCTVirtualText'>, }>; type State = {| @@ -140,7 +139,6 @@ class TouchableText extends React.Component { {hasTextAncestor => hasTextAncestor ? ( - // $FlowFixMe - Typing ReactNativeComponent revealed errors ) : (