Skip to content

Commit 7b15069

Browse files
mrochfacebook-github-bot
authored andcommittedOct 13, 2018
@allow-large-files [flow] update to v0.83
Reviewed By: fishythefish Differential Revision: D10362346 fbshipit-source-id: 0f4cc9977cfaa947e3b23112dd1cf482642e2319
1 parent 5e7c774 commit 7b15069

File tree

12 files changed

+8
-22
lines changed

12 files changed

+8
-22
lines changed
 

‎.flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ untyped-import
100100
untyped-type-import
101101

102102
[version]
103-
^0.82.0
103+
^0.83.0

‎.flowconfig.android

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ untyped-import
100100
untyped-type-import
101101

102102
[version]
103-
^0.82.0
103+
^0.83.0

‎Libraries/Interaction/InteractionManager.js

-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ const TaskQueue = require('TaskQueue');
1717

1818
const infoLog = require('infoLog');
1919
const invariant = require('fbjs/lib/invariant');
20-
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
21-
* found when Flow v0.54 was deployed. To see the error delete this comment and
22-
* run Flow. */
2320
const keyMirror = require('fbjs/lib/keyMirror');
2421

2522
type Handle = number;

‎Libraries/Lists/FlatList.js

-6
Original file line numberDiff line numberDiff line change
@@ -650,14 +650,8 @@ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
650650
render() {
651651
if (this.props.legacyImplementation) {
652652
return (
653-
/* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses an
654-
* error found when Flow v0.66 was deployed. To see the error delete
655-
* this comment and run Flow. */
656653
<MetroListView
657654
{...this.props}
658-
/* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses
659-
* an error found when Flow v0.66 was deployed. To see the error
660-
* delete this comment and run Flow. */
661655
items={this.props.data}
662656
ref={this._captureRef}
663657
/>

‎Libraries/Lists/MetroListView.js

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ type NormalProps = {
2929

3030
// Provide either `items` or `sections`
3131
items?: ?Array<Item>, // By default, an Item is assumed to be {key: string}
32-
// $FlowFixMe - Something is a little off with the type Array<Item>
3332
sections?: ?Array<{key: string, data: Array<Item>}>,
3433

3534
/**

‎Libraries/Lists/SectionList.js

-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ class SectionList<SectionT: SectionBase<any>> extends React.PureComponent<
288288
*/
289289
recordInteraction() {
290290
const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();
291-
// $FlowFixMe Found when typing ListView
292291
listRef && listRef.recordInteraction();
293292
}
294293

‎Libraries/Lists/VirtualizedList.js

-1
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,6 @@ class VirtualizedList extends React.PureComponent<Props, State> {
947947
(this.props.renderScrollComponent || this._defaultRenderScrollComponent)(
948948
scrollProps,
949949
),
950-
// $FlowFixMe Invalid prop usage
951950
{
952951
ref: this._captureScrollRef,
953952
},

‎local-cli/bundle/buildBundle.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
'use strict';
1212

1313
const log = require('../util/log').out('bundle');
14-
/* $FlowFixMe(site=react_native_oss) */
1514
const Server = require('metro/src/Server');
1615

1716
/* $FlowFixMe(site=react_native_oss) */

‎local-cli/bundle/types.flow.js

-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010

1111
'use strict';
1212

13-
/* $FlowFixMe(site=react_native_oss) */
1413
export type {OutputOptions, RequestOptions} from 'metro/src/shared/types.flow';

‎local-cli/templates/HelloWorld/_flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
6767
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
6868

6969
[version]
70-
^0.82.0
70+
^0.83.0

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
"eslint-plugin-prettier": "2.6.0",
219219
"eslint-plugin-react": "7.8.2",
220220
"eslint-plugin-react-native": "^3.2.1",
221-
"flow-bin": "^0.82.0",
221+
"flow-bin": "^0.83.0",
222222
"jest": "23.4.1",
223223
"jest-junit": "5.1.0",
224224
"prettier": "1.13.6",

‎yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2827,10 +2827,10 @@ flat-cache@^1.2.1:
28272827
graceful-fs "^4.1.2"
28282828
write "^0.2.1"
28292829

2830-
flow-bin@^0.82.0:
2831-
version "0.82.0"
2832-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.82.0.tgz#fbec84c0d6cab7877565eca8214d655f3aefb8db"
2833-
integrity sha512-D7ViTCVJSVv19CB6dFWS9k2iKQlavtkRXn9el0ofVTTpGuybe+EPE8DZwdyohzEt6wRhHV8gwkteWvxdcVuOzg==
2830+
flow-bin@^0.83.0:
2831+
version "0.83.0"
2832+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.83.0.tgz#fd26f5f95758d7701264b3f9a1e1a3d4cbcab1a9"
2833+
integrity sha512-1K83EL/U9Gh0BaXPKkZe6TRizSmNSKx9Wuws1c8gh7DJEwiburtCxYT+4o7in1+GnNEm3CZWnbnVV8n9HMpiDA==
28342834

28352835
for-in@^1.0.1, for-in@^1.0.2:
28362836
version "1.0.2"

0 commit comments

Comments
 (0)
Please sign in to comment.