diff --git a/.flowconfig b/.flowconfig index a2afa6b93..7ba7b7ccf 100644 --- a/.flowconfig +++ b/.flowconfig @@ -97,4 +97,4 @@ untyped-import untyped-type-import [version] -^0.75.0 +^0.76.0 diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 27dd34f49..9f0688e87 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -394,7 +394,7 @@ export type Props = $ReadOnly<{| * - `false`, deprecated, use 'never' instead * - `true`, deprecated, use 'always' instead */ - // $FlowFixMe Issues found when typing ScrollView + // $FlowFixMe(site=react_native_fb) Issues found when typing ScrollView keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | false | true), /** * Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop). diff --git a/Libraries/Utilities/PerformanceLogger.js b/Libraries/Utilities/PerformanceLogger.js index 203e24125..8bd1cc638 100644 --- a/Libraries/Utilities/PerformanceLogger.js +++ b/Libraries/Utilities/PerformanceLogger.js @@ -13,9 +13,6 @@ const Systrace = require('Systrace'); const infoLog = require('infoLog'); const performanceNow = - /* $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. */ global.nativeQPLTimestamp || global.nativePerformanceNow || require('fbjs/lib/performanceNow'); diff --git a/local-cli/server/runServer.js b/local-cli/server/runServer.js index 7dfaaed72..7f660bde2 100644 --- a/local-cli/server/runServer.js +++ b/local-cli/server/runServer.js @@ -80,7 +80,7 @@ async function runServer(args: Args, config: ConfigT) { // // For more info: https://github.com/nodejs/node/issues/13391 // - // $FlowFixMe + // $FlowFixMe (site=react_native_fb) serverInstance.keepAliveTimeout = 30000; } diff --git a/local-cli/templates/HelloWorld/_flowconfig b/local-cli/templates/HelloWorld/_flowconfig index 3c0adb566..db178bd0c 100644 --- a/local-cli/templates/HelloWorld/_flowconfig +++ b/local-cli/templates/HelloWorld/_flowconfig @@ -64,4 +64,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [version] -^0.75.0 +^0.76.0 diff --git a/package.json b/package.json index ef7f97843..5c9be70ae 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "eslint-plugin-prettier": "2.6.0", "eslint-plugin-react": "7.8.2", "eslint-plugin-react-native": "^3.2.1", - "flow-bin": "^0.75.0", + "flow-bin": "^0.76.0", "jest": "23.2.0", "jest-junit": "5.1.0", "prettier": "1.13.6",