diff --git a/.flowconfig b/.flowconfig index 4c413037a12..ceccd7f8439 100644 --- a/.flowconfig +++ b/.flowconfig @@ -84,4 +84,4 @@ untyped-import untyped-type-import [version] -^0.116.0 +^0.117.0 diff --git a/.flowconfig.android b/.flowconfig.android index cbe0fae787d..aaab847c693 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -84,4 +84,4 @@ untyped-import untyped-type-import [version] -^0.116.0 +^0.117.0 diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 51305ff5cce..184863d4761 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -1168,6 +1168,9 @@ class ScrollView extends React.Component { // On iOS the RefreshControl is a child of the ScrollView. // tvOS lacks native support for RefreshControl, so don't include it in that case return ( + /* $FlowFixMe(>=0.117.0 site=react_native_fb) This comment suppresses + * an error found when Flow v0.117 was deployed. To see the error, + * delete this comment and run Flow. */ {Platform.isTV ? null : refreshControl} {contentContainer} diff --git a/ReactCommon/hermes/inspector/tools/msggen/src/index.js b/ReactCommon/hermes/inspector/tools/msggen/src/index.js index fab6c6527d0..5124485a86d 100644 --- a/ReactCommon/hermes/inspector/tools/msggen/src/index.js +++ b/ReactCommon/hermes/inspector/tools/msggen/src/index.js @@ -12,7 +12,6 @@ import fs from 'fs'; -// $FlowFixMe import yargs from 'yargs'; import {Command} from './Command'; diff --git a/package.json b/package.json index 2e38b5165ea..60507a52ed5 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ "eslint-plugin-react-hooks": "^2.0.1", "eslint-plugin-react-native": "3.8.1", "eslint-plugin-relay": "1.4.1", - "flow-bin": "^0.116.0", + "flow-bin": "^0.117.0", "flow-remove-types": "1.2.3", "jest": "^24.8.0", "jest-junit": "^6.3.0", diff --git a/template/_flowconfig b/template/_flowconfig index e05f3b0b998..5680c5fa7a5 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -73,4 +73,4 @@ untyped-import untyped-type-import [version] -^0.116.0 +^0.117.0 diff --git a/yarn.lock b/yarn.lock index 12dc8d23cfc..396f5682a04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3382,10 +3382,10 @@ flat-cache@^1.2.1: rimraf "~2.6.2" write "^0.2.1" -flow-bin@^0.116.0: - version "0.116.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.116.0.tgz#f2e5ef318838ceb760e3f588b66076bc8ee1dc87" - integrity sha512-6q1f84mhAzHlUp9eTpIIJqINFBXf2+HGQllYfrkdQ+DfOLkF2wEZNHpVlYX1DL0G3uS8D//XEfsN2seZAc7jiw== +flow-bin@^0.117.0: + version "0.117.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.117.0.tgz#2fd331f476dac31f7dae6ac9b557581ebc84e8ad" + integrity sha512-LwDdiApyQsO26ubieaLBcW//K8QNcFR50FSUUDo5roy+2nsvkfRdJa0Qse2De6/2fwBElLDDrc3rrSzvC3hy2Q== flow-parser@0.*: version "0.89.0"