Argument arity fix for Deferred#then and Deferred#catch (sync from similar change on www: D5486661)
@@ -350,9 +350,6 @@ class RelayEnvironment implements Environment, RelayEnvironmentInterface {
);
const request = new RelayQueryRequest(query);
request.then(
- /* $FlowFixMe(>=0.50.0 site=www,mobile,react_native_fb) This comment
- * suppresses an error found when Flow v0.50 was deployed. To see the
- * error delete this comment and run Flow. */
payload => {
if (isDisposed) {
return;
@@ -368,9 +365,6 @@ class RelayEnvironment implements Environment, RelayEnvironmentInterface {
onNext && onNext(operation.root);
onCompleted && onCompleted();
},
- /* $FlowFixMe(>=0.50.0 site=www,mobile,react_native_fb) This comment
- * suppresses an error found when Flow v0.50 was deployed. To see the
- * error delete this comment and run Flow. */
error => {
if (isDisposed) {
return;
