diff --git a/packages/react-native/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js b/packages/react-native/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js index e458bb847dc..43171ac9ae1 100644 --- a/packages/react-native/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +++ b/packages/react-native/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js @@ -61,18 +61,14 @@ subscription.listener; // $FlowExpectedError[prop-missing] subscription.once; -// $FlowExpectedError[invalid-tuple-arity] // $FlowExpectedError[extra-arg] emitter.emit('void', undefined); // $FlowExpectedError[incompatible-type] emitter.emit('string', 123); -// $FlowExpectedError[invalid-tuple-arity] // $FlowExpectedError[incompatible-type] emitter.emit('strings', 'foo'); -// $FlowExpectedError[invalid-tuple-arity] // $FlowExpectedError[extra-arg] emitter.emit('strings', 'foo', 'bar', 'baz'); -// $FlowExpectedError[invalid-tuple-arity] // $FlowExpectedError[incompatible-type] emitter.emit('error'); // $FlowExpectedError[prop-missing]