diff --git a/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/Libraries/Components/Keyboard/KeyboardAvoidingView.js index 64ab0551f7c9c3..790c5a3acf8fe9 100644 --- a/Libraries/Components/Keyboard/KeyboardAvoidingView.js +++ b/Libraries/Components/Keyboard/KeyboardAvoidingView.js @@ -189,6 +189,7 @@ const KeyboardAvoidingView = ((createReactClass({ heightStyle = {height: this.frame.height - bottomHeight, flex: 0}; } return ( + // $FlowFixMe - Typing ReactNativeComponent revealed errors { cellKey={this._getCellKey() + '-header'} key="$header"> - {element} + { + // $FlowFixMe - Typing ReactNativeComponent revealed errors + element} , ); @@ -890,7 +892,9 @@ class VirtualizedList extends React.PureComponent { cellKey={this._getCellKey() + '-footer'} key="$footer"> - {element} + { + // $FlowFixMe - Typing ReactNativeComponent revealed errors + element} , ); @@ -1008,6 +1012,7 @@ class VirtualizedList extends React.PureComponent { _defaultRenderScrollComponent = props => { const onRefresh = props.onRefresh; if (this._isNestedWithSameOrientation()) { + // $FlowFixMe - Typing ReactNativeComponent revealed errors return ; } else if (onRefresh) { invariant( diff --git a/Libraries/RCTTest/SnapshotViewIOS.ios.js b/Libraries/RCTTest/SnapshotViewIOS.ios.js index 55cc78424ecca0..f2a53511bc1bb3 100644 --- a/Libraries/RCTTest/SnapshotViewIOS.ios.js +++ b/Libraries/RCTTest/SnapshotViewIOS.ios.js @@ -42,6 +42,7 @@ class SnapshotViewIOS extends React.Component<{ const testIdentifier = this.props.testIdentifier || 'test'; const onSnapshotReady = this.props.onSnapshotReady || this.onDefaultAction; return ( + // $FlowFixMe - Typing ReactNativeComponent revealed errors { pointerEvents="box-none" style={styles.appContainer} ref={ref => { + // $FlowFixMe - Typing ReactNativeComponent revealed errors this._mainRef = ref; }}> {this.props.children} diff --git a/Libraries/Text/Text.js b/Libraries/Text/Text.js index a1f9db79398ebc..1f1698bc25ed4b 100644 --- a/Libraries/Text/Text.js +++ b/Libraries/Text/Text.js @@ -36,6 +36,7 @@ type ResponseHandlers = $ReadOnly<{| type Props = $ReadOnly<{ ...TextProps, + // $FlowFixMe - Typing ReactNativeComponent revealed errors forwardedRef: ?React.Ref>, }>; @@ -139,6 +140,7 @@ class TouchableText extends React.Component { {hasTextAncestor => hasTextAncestor ? ( + // $FlowFixMe - Typing ReactNativeComponent revealed errors ) : ( diff --git a/RNTester/js/RTLExample.js b/RNTester/js/RTLExample.js index 67120d06bb2df3..ac3ec573a7e185 100644 --- a/RNTester/js/RTLExample.js +++ b/RNTester/js/RTLExample.js @@ -484,6 +484,7 @@ class RTLExample extends React.Component { + {/* $FlowFixMe - Typing ReactNativeComponent revealed errors */}