Skip to content

Commit 8a49750

Browse files
samwgoldmanfacebook-github-bot
authored andcommitted
Upgrade xplat/js to Flow v0.82
Reviewed By: yungsters Differential Revision: D10139929 fbshipit-source-id: ae44a8af7cab28c4acfd7c97e636467e44adcf37
1 parent c1561ab commit 8a49750

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
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.81.0
103+
^0.82.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.81.0
103+
^0.82.0

Libraries/Experimental/SwipeableRow/SwipeableQuickActionButton.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,21 @@ import type {ImageSource} from 'ImageSource';
2727
class SwipeableQuickActionButton extends React.Component<{
2828
accessibilityLabel?: string,
2929
imageSource?: ?(ImageSource | number),
30+
/* $FlowFixMe(>=0.82.0 site=react_native_fb) This comment suppresses an error
31+
* found when Flow v0.82 was deployed. To see the error delete this comment
32+
* and run Flow. */
3033
imageStyle?: ?DeprecatedViewPropTypes.style,
3134
mainView?: ?React.Node,
3235
onPress?: Function,
36+
/* $FlowFixMe(>=0.82.0 site=react_native_fb) This comment suppresses an error
37+
* found when Flow v0.82 was deployed. To see the error delete this comment
38+
* and run Flow. */
3339
style?: ?DeprecatedViewPropTypes.style,
3440
testID?: string,
3541
text?: ?(string | Object | Array<string | Object>),
42+
/* $FlowFixMe(>=0.82.0 site=react_native_fb) This comment suppresses an error
43+
* found when Flow v0.82 was deployed. To see the error delete this comment
44+
* and run Flow. */
3645
textStyle?: ?DeprecatedViewPropTypes.style,
3746
}> {
3847
render(): React.Node {

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.81.0
70+
^0.82.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"eslint-plugin-prettier": "2.6.0",
220220
"eslint-plugin-react": "7.8.2",
221221
"eslint-plugin-react-native": "^3.2.1",
222-
"flow-bin": "^0.81.0",
222+
"flow-bin": "^0.82.0",
223223
"jest": "23.4.1",
224224
"jest-junit": "5.1.0",
225225
"prettier": "1.13.6",

0 commit comments

Comments
 (0)