Skip to content
Permalink
Browse files

Upgrade to Flow v0.98

Summary:
https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js

allow-large-files

Reviewed By: avikchaudhuri

Differential Revision: D15149545

fbshipit-source-id: 85b6107c058d50d9fe80fd277fcdd005faccea8e
  • Loading branch information...
nmote authored and facebook-github-bot committed May 3, 2019
1 parent 2fd381c commit 0e1dfd436917a78a09da7b57a0b50397e6a0b6e1
@@ -103,4 +103,4 @@ untyped-import
untyped-type-import

[version]
^0.97.0
^0.98.0
@@ -103,4 +103,4 @@ untyped-import
untyped-type-import

[version]
^0.97.0
^0.98.0
@@ -674,6 +674,9 @@ class ScrollView extends React.Component<Props, State> {
this.props.contentOffset ? this.props.contentOffset.y : 0,
);
this._scrollAnimatedValue.setOffset(
/* $FlowFixMe(>=0.98.0 site=react_native_fb) This comment suppresses an
* error found when Flow v0.98 was deployed. To see the error delete this
* comment and run Flow. */
this.props.contentInset ? this.props.contentInset.top : 0,
);
this._stickyHeaderRefs = new Map();
@@ -21,6 +21,9 @@ const {
const NUM_ITEMS = 20;

class ScrollViewSimpleExample extends React.Component<{}> {
/* $FlowFixMe(>=0.98.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.98 was deployed. To see the error delete this comment
* and run Flow. */
makeItems = (nItems: number, styles): Array<any> => {
const items = [];
for (let i = 0; i < nItems; i++) {
@@ -125,7 +125,7 @@
"eslint-plugin-react-hooks": "^1.5.1",
"eslint-plugin-react-native": "3.6.0",
"eslint-plugin-relay": "1.3.0",
"flow-bin": "^0.97.0",
"flow-bin": "^0.98.0",
"flow-remove-types": "1.2.3",
"jest": "^24.7.1",
"jest-junit": "^6.3.0",
@@ -92,4 +92,4 @@ untyped-import
untyped-type-import

[version]
^0.97.0
^0.98.0
@@ -3166,10 +3166,10 @@ flat-cache@^1.2.1:
rimraf "~2.6.2"
write "^0.2.1"

flow-bin@^0.97.0:
version "0.97.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.97.0.tgz#036ffcfc27503367a9d906ec9d843a0aa6f6bb83"
integrity sha512-jXjD05gkatLuC4+e28frH1hZoRwr1iASP6oJr61Q64+kR4kmzaS+AdFBhYgoYS5kpoe4UzwDebWK8ETQFNh00w==
flow-bin@^0.98.0:
version "0.98.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.98.0.tgz#3361a03682326a83a5f0a864749f4f7f0d826bce"
integrity sha512-vuiYjBVt82eYF+dEk9Zqa8hTSDvbhl/czxzFRLZm9/XHbJnYNMTwFoNFYAQT9IQ6ACNBIbwSTIfxroieuKja7g==

flow-parser@0.*:
version "0.89.0"

0 comments on commit 0e1dfd4

Please sign in to comment.
You can’t perform that action at this time.