Skip to content

Commit eac34e3

Browse files
gabelevifacebook-github-bot
authored andcommitted
Flow v0.76.0
Summary: No new errors in this version. Just removed a bunch of unused suppressions Reviewed By: TheSavior Differential Revision: D8754160 fbshipit-source-id: 2f02240b6d65edecba5d9ed603c7703462547a7f
1 parent fc94f95 commit eac34e3

File tree

6 files changed

+5
-8
lines changed

6 files changed

+5
-8
lines changed

.flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ untyped-import
9797
untyped-type-import
9898

9999
[version]
100-
^0.75.0
100+
^0.76.0

Libraries/Components/ScrollView/ScrollView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ export type Props = $ReadOnly<{|
394394
* - `false`, deprecated, use 'never' instead
395395
* - `true`, deprecated, use 'always' instead
396396
*/
397-
// $FlowFixMe Issues found when typing ScrollView
397+
// $FlowFixMe(site=react_native_fb) Issues found when typing ScrollView
398398
keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | false | true),
399399
/**
400400
* Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).

Libraries/Utilities/PerformanceLogger.js

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ const Systrace = require('Systrace');
1313

1414
const infoLog = require('infoLog');
1515
const performanceNow =
16-
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an
17-
* error found when Flow v0.54 was deployed. To see the error delete this
18-
* comment and run Flow. */
1916
global.nativeQPLTimestamp ||
2017
global.nativePerformanceNow ||
2118
require('fbjs/lib/performanceNow');

local-cli/server/runServer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function runServer(args: Args, config: ConfigT) {
8080
//
8181
// For more info: https://github.com/nodejs/node/issues/13391
8282
//
83-
// $FlowFixMe
83+
// $FlowFixMe (site=react_native_fb)
8484
serverInstance.keepAliveTimeout = 30000;
8585
}
8686

local-cli/templates/HelloWorld/_flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
6464
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
6565

6666
[version]
67-
^0.75.0
67+
^0.76.0

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"eslint-plugin-prettier": "2.6.0",
213213
"eslint-plugin-react": "7.8.2",
214214
"eslint-plugin-react-native": "^3.2.1",
215-
"flow-bin": "^0.75.0",
215+
"flow-bin": "^0.76.0",
216216
"jest": "23.2.0",
217217
"jest-junit": "5.1.0",
218218
"prettier": "1.13.6",

0 commit comments

Comments
 (0)