diff --git a/.flowconfig b/.flowconfig index 2edf60073..16c68958e 100644 --- a/.flowconfig +++ b/.flowconfig @@ -52,4 +52,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError unsafe.enable_getters_and_setters=true [version] -^0.49.1 +^0.50.0 diff --git a/RNTester/js/XHRExampleDownload.js b/RNTester/js/XHRExampleDownload.js index 595e9a215..1b6e172af 100644 --- a/RNTester/js/XHRExampleDownload.js +++ b/RNTester/js/XHRExampleDownload.js @@ -79,9 +79,6 @@ class XHRExampleDownload extends React.Component { } const onreadystatechange = () => { - /* $FlowFixMe(>=0.48.0 site=react_native_fb,react_native_oss) This comment - * suppresses an error found when Flow v0.48 was deployed. To see the - * error delete this comment and run Flow. */ if (xhr.readyState === xhr.HEADERS_RECEIVED) { const contentLength = parseInt(xhr.getResponseHeader('Content-Length'), 10); @@ -89,9 +86,6 @@ class XHRExampleDownload extends React.Component { contentLength, responseLength: 0, }); - /* $FlowFixMe(>=0.48.0 site=react_native_fb,react_native_oss) This comment - * suppresses an error found when Flow v0.48 was deployed. To see the - * error delete this comment and run Flow. */ } else if (xhr.readyState === xhr.LOADING && xhr.response) { this.setState({ responseLength: xhr.response.length, diff --git a/package.json b/package.json index f661d710d..58635cb7b 100644 --- a/package.json +++ b/package.json @@ -229,7 +229,7 @@ "eslint-plugin-flowtype": "^2.33.0", "eslint-plugin-prettier": "2.1.1", "eslint-plugin-react": "^7.0.1", - "flow-bin": "^0.49.1", + "flow-bin": "^0.50.0", "jest": "20.1.0-chi.1", "jest-phabricator": "20.1.0-chi.1", "jest-repl": "20.1.0-chi.1",