diff --git a/.flowconfig b/.flowconfig
index b530b96debf..b23b074f14b 100644
--- a/.flowconfig
+++ b/.flowconfig
@@ -84,4 +84,4 @@ untyped-import
untyped-type-import
[version]
-^0.114.0
+^0.115.0
diff --git a/.flowconfig.android b/.flowconfig.android
index f3334dbb343..45caa62b699 100644
--- a/.flowconfig.android
+++ b/.flowconfig.android
@@ -84,4 +84,4 @@ untyped-import
untyped-type-import
[version]
-^0.114.0
+^0.115.0
diff --git a/IntegrationTests/IntegrationTestsApp.js b/IntegrationTests/IntegrationTestsApp.js
index c52fe515221..92f94270bb6 100644
--- a/IntegrationTests/IntegrationTestsApp.js
+++ b/IntegrationTests/IntegrationTestsApp.js
@@ -77,6 +77,9 @@ class IntegrationTestsApp extends React.Component<{...}, $FlowFixMeState> {
{TESTS.map(test => [
+ /* $FlowFixMe(>=0.115.0 site=react_native_fb) This comment
+ * suppresses an error found when Flow v0.115 was deployed. To see
+ * the error, delete this comment and run Flow. */
this.setState({test})}
style={styles.row}>
diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js
index fec14e0487f..ee6bd5c8441 100644
--- a/Libraries/Image/Image.android.js
+++ b/Libraries/Image/Image.android.js
@@ -263,12 +263,8 @@ let Image = (props: ImagePropsType, forwardedRef) => {
let style;
let sources;
if (source?.uri != null) {
- /* $FlowFixMe(>=0.78.0 site=react_native_android_fb) This issue was found
- * when making Flow check .android.js files. */
const {width, height} = source;
style = flattenStyle([{width, height}, styles.base, props.style]);
- /* $FlowFixMe(>=0.78.0 site=react_native_android_fb) This issue was found
- * when making Flow check .android.js files. */
sources = [{uri: source.uri}];
} else {
style = flattenStyle([styles.base, props.style]);
diff --git a/RNTester/js/examples/Image/ImageExample.js b/RNTester/js/examples/Image/ImageExample.js
index 3fd95a4594f..3b8a1759f2f 100644
--- a/RNTester/js/examples/Image/ImageExample.js
+++ b/RNTester/js/examples/Image/ImageExample.js
@@ -783,6 +783,9 @@ exports.examples = [
source={image}
/>
+ {/* $FlowFixMe(>=0.115.0 site=react_native_fb) This comment
+ * suppresses an error found when Flow v0.115 was deployed.
+ * To see the error, delete this comment and run Flow. */}
Cover
+ {/* $FlowFixMe(>=0.115.0 site=react_native_fb) This comment
+ * suppresses an error found when Flow v0.115 was deployed.
+ * To see the error, delete this comment and run Flow. */}
Repeat
+ {/* $FlowFixMe(>=0.115.0 site=react_native_fb) This comment
+ * suppresses an error found when Flow v0.115 was deployed.
+ * To see the error, delete this comment and run Flow. */}
Center
=0.115.0 site=react_native_fb) This comment suppresses an
+ * error found when Flow v0.115 was deployed. To see the error, delete
+ * this comment and run Flow. */
return ;
},
},
diff --git a/RNTester/js/examples/TextInput/TextInputSharedExamples.js b/RNTester/js/examples/TextInput/TextInputSharedExamples.js
index 6df3fcb88ee..06af85f4a5a 100644
--- a/RNTester/js/examples/TextInput/TextInputSharedExamples.js
+++ b/RNTester/js/examples/TextInput/TextInputSharedExamples.js
@@ -596,8 +596,6 @@ module.exports = ([
return (
=0.78.0 site=react_native_android_fb) This issue was
- * found when making Flow check .android.js files. */
style={styles.default}
value="text selection can be changed"
/>
diff --git a/package.json b/package.json
index 10807ff1331..dc7aeba02ad 100644
--- a/package.json
+++ b/package.json
@@ -141,7 +141,7 @@
"eslint-plugin-react-hooks": "^2.0.1",
"eslint-plugin-react-native": "3.8.1",
"eslint-plugin-relay": "1.4.1",
- "flow-bin": "^0.114.0",
+ "flow-bin": "^0.115.0",
"flow-remove-types": "1.2.3",
"jest": "^24.8.0",
"jest-junit": "^6.3.0",
diff --git a/packages/react-native-codegen/src/cli/combine/combine-js-to-schema.js b/packages/react-native-codegen/src/cli/combine/combine-js-to-schema.js
index 292347a5a6c..cf2da06ef64 100644
--- a/packages/react-native-codegen/src/cli/combine/combine-js-to-schema.js
+++ b/packages/react-native-codegen/src/cli/combine/combine-js-to-schema.js
@@ -26,9 +26,6 @@ function combineSchemas(files: Array): SchemaType {
const schema = FlowParser.parseFile(filename);
if (schema && schema.modules) {
- /* $FlowFixMe(>=0.111.0 site=react_native_fb) This comment suppresses
- * an error found when Flow v0.111 was deployed. To see the error,
- * delete this comment and run Flow. */
merged.modules = {...merged.modules, ...schema.modules};
}
}
diff --git a/template/_flowconfig b/template/_flowconfig
index a9e87d1c1a9..fed57808e52 100644
--- a/template/_flowconfig
+++ b/template/_flowconfig
@@ -73,4 +73,4 @@ untyped-import
untyped-type-import
[version]
-^0.114.0
+^0.115.0
diff --git a/yarn.lock b/yarn.lock
index b95364d9d8e..6dc7390b8a9 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.114.0:
- version "0.114.0"
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.114.0.tgz#9079c5fcdf08fab4db91616f38994e9b7d035842"
- integrity sha512-hewufX0nbnhemQn5XtJ97nEFNqoBclPBAZ54aY3jKuZJnLpwqB7Doaplet3M26TOh2NchBsU0+lUkM8oVna2VA==
+flow-bin@^0.115.0:
+ version "0.115.0"
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.115.0.tgz#22e3ad9e5c7198967de80138ba8a9154ff387960"
+ integrity sha512-xW+U2SrBaAr0EeLvKmXAmsdnrH6x0Io17P6yRJTNgrrV42G8KXhBAD00s6oGbTTqRyHD0nP47kyuU34zljZpaQ==
flow-parser@0.*:
version "0.89.0"