From af6e2eb02d3651f869b5436e68e61ef3ab3405a0 Mon Sep 17 00:00:00 2001 From: Eli White Date: Mon, 14 May 2018 00:09:06 -0700 Subject: [PATCH] Removing unnecessary FlowFixMe Reviewed By: yungsters Differential Revision: D7985749 fbshipit-source-id: ba7e152749c5a5cac134b51e0229dc11870bb3e0 --- Libraries/Components/ScrollView/ScrollView.js | 3 --- Libraries/Lists/ListView/ListView.js | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 0822ba140d4e5e..09928bf047d7a1 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -33,9 +33,6 @@ const flattenStyle = require('flattenStyle'); const invariant = require('fbjs/lib/invariant'); const processDecelerationRate = require('processDecelerationRate'); const requireNativeComponent = require('requireNativeComponent'); -/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error - * found when Flow v0.54 was deployed. To see the error delete this comment and - * run Flow. */ const warning = require('fbjs/lib/warning'); const resolveAssetSource = require('resolveAssetSource'); diff --git a/Libraries/Lists/ListView/ListView.js b/Libraries/Lists/ListView/ListView.js index cd168bc656cd0d..8a1753d2d60ac1 100644 --- a/Libraries/Lists/ListView/ListView.js +++ b/Libraries/Lists/ListView/ListView.js @@ -18,15 +18,8 @@ const RCTScrollViewManager = require('NativeModules').ScrollViewManager; const ScrollView = require('ScrollView'); const ScrollResponder = require('ScrollResponder'); const StaticRenderer = require('StaticRenderer'); -/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error - * found when Flow v0.54 was deployed. To see the error delete this comment and - * run Flow. */ const TimerMixin = require('react-timer-mixin'); const View = require('View'); - -/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error - * found when Flow v0.54 was deployed. To see the error delete this comment and - * run Flow. */ const cloneReferencedElement = require('react-clone-referenced-element'); const createReactClass = require('create-react-class'); const isEmpty = require('isEmpty'); @@ -423,9 +416,6 @@ const ListView = createReactClass({ const rowIDs = allRowIDs[sectionIdx]; if (rowIDs.length === 0) { if (this.props.enableEmptySections === undefined) { - /* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses - * an error found when Flow v0.54 was deployed. To see the error - * delete this comment and run Flow. */ const warning = require('fbjs/lib/warning'); warning( false,