From 248879f5a3269abe2e1814e70d81a98935b42f72 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Fri, 22 Apr 2016 18:01:49 -0700 Subject: [PATCH] Fix react-native.js.flow Summary:We no longer forward React onto this object. We only forward the ReactNative module onto it. We also deprecated the addons so they'll all warn. We'll remove it completely soon. Closes https://github.com/facebook/react-native/pull/7136 Reviewed By: gabelevi Differential Revision: D3211809 Pulled By: sebmarkbage fb-gh-sync-id: 77aaa909dca5e2522cfaa7b4ca361fabc614be58 fbshipit-source-id: 77aaa909dca5e2522cfaa7b4ca361fabc614be58 --- Examples/Movies/MovieCell.js | 3 --- Examples/Movies/MovieScreen.js | 3 --- Libraries/react-native/react-native.js.flow | 21 ++------------------- 3 files changed, 2 insertions(+), 25 deletions(-) diff --git a/Examples/Movies/MovieCell.js b/Examples/Movies/MovieCell.js index 64cfcfedb..daa7d41b5 100644 --- a/Examples/Movies/MovieCell.js +++ b/Examples/Movies/MovieCell.js @@ -45,9 +45,6 @@ var MovieCell = React.createClass({ onShowUnderlay={this.props.onHighlight} onHideUnderlay={this.props.onUnhighlight}> - {/* $FlowIssue #7363964 - There's a bug in Flow where you cannot - * omit a property or set it to undefined if it's inside a shape, - * even if it isn't required */} - {/* $FlowIssue #7363964 - There's a bug in Flow where you cannot - * omit a property or set it to undefined if it's inside a shape, - * even if it isn't required */}