diff --git a/.flowconfig b/.flowconfig index 2f4ce316a..bc96c23a0 100644 --- a/.flowconfig +++ b/.flowconfig @@ -97,4 +97,4 @@ untyped-import untyped-type-import [version] -^0.89.0 +^0.90.0 diff --git a/.flowconfig.android b/.flowconfig.android index 749a1f7b2..89d4f2494 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -97,4 +97,4 @@ untyped-import untyped-type-import [version] -^0.89.0 +^0.90.0 diff --git a/Libraries/ReactNative/AppRegistry.js b/Libraries/ReactNative/AppRegistry.js index 1f99c1025..4cae030d5 100644 --- a/Libraries/ReactNative/AppRegistry.js +++ b/Libraries/ReactNative/AppRegistry.js @@ -21,6 +21,9 @@ const renderApplication = require('renderApplication'); type Task = (taskData: any) => Promise; type TaskProvider = () => Task; +/* $FlowFixMe(>=0.90.0 site=react_native_fb) This comment suppresses an + * error found when Flow v0.90 was deployed. To see the error, delete this + * comment and run Flow. */ export type ComponentProvider = () => React$ComponentType; export type ComponentProviderInstrumentationHook = ( component: ComponentProvider, diff --git a/package.json b/package.json index 54f38c6ee..a760eaaff 100644 --- a/package.json +++ b/package.json @@ -228,7 +228,7 @@ "eslint-plugin-prettier": "2.6.0", "eslint-plugin-react": "7.8.2", "eslint-plugin-react-native": "3.5.0", - "flow-bin": "^0.89.0", + "flow-bin": "^0.90.0", "jest": "24.0.0-alpha.6", "jest-junit": "5.2.0", "jscodeshift": "^0.6.2", diff --git a/template/_flowconfig b/template/_flowconfig index 101c4407b..fa9e3ba4f 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -66,4 +66,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [version] -^0.89.0 +^0.90.0 diff --git a/yarn.lock b/yarn.lock index 9aba30cd4..b5c5ae8f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3267,10 +3267,10 @@ flat-cache@^1.2.1: graceful-fs "^4.1.2" write "^0.2.1" -flow-bin@^0.89.0: - version "0.89.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.89.0.tgz#6bd29c2af7e0f429797f820662f33749105c32fa" - integrity sha512-DkO4PsXYrl53V6G5+t5HbRMC5ajYUQej2LEGPUZ+j9okTb41Sn5j9vfxsCpXMEAslYnQoysHhYu4GUZsQX/DrQ== +flow-bin@^0.90.0: + version "0.90.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.90.0.tgz#733b6d29a8c8a22b9a5d273611d9a8402faf3445" + integrity sha512-/syDchjhLLL7nELK1ggyWJifGXuMCTz74kvkjR1t9DcmasMrilLl9qAAotsACcNb98etEEJpsCrvP7WL64kadw== flow-parser@0.*: version "0.89.0"