diff --git a/Libraries/vendor/emitter/_EventEmitter.js b/Libraries/vendor/emitter/_EventEmitter.js index 38addf8b7b2111..f1d97e9d5e93e4 100644 --- a/Libraries/vendor/emitter/_EventEmitter.js +++ b/Libraries/vendor/emitter/_EventEmitter.js @@ -78,19 +78,6 @@ class EventEmitter { this._subscriber.removeAllSubscriptions(eventType); } - /** - * @deprecated Use `remove` on the EventSubscription from `addListener`. - */ - removeSubscription>( - subscription: EmitterSubscription, - ): void { - console.warn( - 'EventEmitter.removeSubscription(...): Method has been deprecated. ' + - 'Please instead use `remove()` on the subscription itself.', - ); - this.__removeSubscription(subscription); - } - /** * Called by `EmitterSubscription` to bypass the above deprecation warning. */