Skip to content

Commit 8e8fecd

Browse files
nmotefacebook-github-bot
authored andcommitted
Upgrade to Flow v0.50.0
Reviewed By: gabelevi Differential Revision: D5438335 fbshipit-source-id: 7a96f68e7147e984c6f0cb84f957e639d36ca6b3
1 parent b8fafb4 commit 8e8fecd

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
5252
unsafe.enable_getters_and_setters=true
5353

5454
[version]
55-
^0.49.1
55+
^0.50.0

RNTester/js/XHRExampleDownload.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,13 @@ class XHRExampleDownload extends React.Component {
7979
}
8080

8181
const onreadystatechange = () => {
82-
/* $FlowFixMe(>=0.48.0 site=react_native_fb,react_native_oss) This comment
83-
* suppresses an error found when Flow v0.48 was deployed. To see the
84-
* error delete this comment and run Flow. */
8582
if (xhr.readyState === xhr.HEADERS_RECEIVED) {
8683
const contentLength =
8784
parseInt(xhr.getResponseHeader('Content-Length'), 10);
8885
this.setState({
8986
contentLength,
9087
responseLength: 0,
9188
});
92-
/* $FlowFixMe(>=0.48.0 site=react_native_fb,react_native_oss) This comment
93-
* suppresses an error found when Flow v0.48 was deployed. To see the
94-
* error delete this comment and run Flow. */
9589
} else if (xhr.readyState === xhr.LOADING && xhr.response) {
9690
this.setState({
9791
responseLength: xhr.response.length,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
"eslint-plugin-flowtype": "^2.33.0",
230230
"eslint-plugin-prettier": "2.1.1",
231231
"eslint-plugin-react": "^7.0.1",
232-
"flow-bin": "^0.49.1",
232+
"flow-bin": "^0.50.0",
233233
"jest": "20.1.0-chi.1",
234234
"jest-phabricator": "20.1.0-chi.1",
235235
"jest-repl": "20.1.0-chi.1",

0 commit comments

Comments
 (0)