Upgrade xplat/js to Flow v0.82

Reviewed By: yungsters

Differential Revision: D10139929

fbshipit-source-id: ae44a8af7cab28c4acfd7c97e636467e44adcf37
This commit is contained in:
Sam Goldman 2018-10-01 22:15:06 -07:00 committed by Facebook Github Bot
parent c1561ab441
commit 8a4975051e
5 changed files with 13 additions and 4 deletions

View File

@ -100,4 +100,4 @@ untyped-import
untyped-type-import
[version]
^0.81.0
^0.82.0

View File

@ -100,4 +100,4 @@ untyped-import
untyped-type-import
[version]
^0.81.0
^0.82.0

View File

@ -27,12 +27,21 @@ import type {ImageSource} from 'ImageSource';
class SwipeableQuickActionButton extends React.Component<{
accessibilityLabel?: string,
imageSource?: ?(ImageSource | number),
/* $FlowFixMe(>=0.82.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.82 was deployed. To see the error delete this comment
* and run Flow. */
imageStyle?: ?DeprecatedViewPropTypes.style,
mainView?: ?React.Node,
onPress?: Function,
/* $FlowFixMe(>=0.82.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.82 was deployed. To see the error delete this comment
* and run Flow. */
style?: ?DeprecatedViewPropTypes.style,
testID?: string,
text?: ?(string | Object | Array<string | Object>),
/* $FlowFixMe(>=0.82.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.82 was deployed. To see the error delete this comment
* and run Flow. */
textStyle?: ?DeprecatedViewPropTypes.style,
}> {
render(): React.Node {

View File

@ -67,4 +67,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
[version]
^0.81.0
^0.82.0

View File

@ -219,7 +219,7 @@
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "7.8.2",
"eslint-plugin-react-native": "^3.2.1",
"flow-bin": "^0.81.0",
"flow-bin": "^0.82.0",
"jest": "23.4.1",
"jest-junit": "5.1.0",
"prettier": "1.13.6",