Skip to content

Commit 14c42e7

Browse files
mrochfacebook-github-bot
authored andcommitted
@allow-large-files [flow] update to v0.83
Reviewed By: fishythefish Differential Revision: D10362346 fbshipit-source-id: 0f4cc9977cfaa947e3b23112dd1cf482642e2319
1 parent 1fab45b commit 14c42e7

File tree

12 files changed

+8
-22
lines changed

12 files changed

+8
-22
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 0 additions & 6 deletions
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)