mirror of
https://github.com/status-im/react-native.git
synced 2025-02-20 13:18:07 +00:00
Upgrade xplat/js to Flow v0.82
Reviewed By: yungsters Differential Revision: D10139929 fbshipit-source-id: ae44a8af7cab28c4acfd7c97e636467e44adcf37
This commit is contained in:
parent
c1561ab441
commit
8a4975051e
@ -100,4 +100,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.81.0
|
||||
^0.82.0
|
||||
|
@ -100,4 +100,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.81.0
|
||||
^0.82.0
|
||||
|
@ -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 {
|
||||
|
@ -67,4 +67,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
|
||||
[version]
|
||||
^0.81.0
|
||||
^0.82.0
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user