From 6042592cf46787f089e76b661376705380607207 Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Mon, 14 May 2018 17:36:36 -0700 Subject: [PATCH] RN: Revise $FlowFixMe in Text Reviewed By: TheSavior Differential Revision: D7987519 fbshipit-source-id: 01c389ab7c277ec8423c137e61bb94a0d3ba4669 --- Libraries/Text/Text.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Libraries/Text/Text.js b/Libraries/Text/Text.js index 1f1698bc25e..884c86a5e96 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 ) : (