Remove `NativeEventEmitter.removeSubscription` · rescript-react-native/rescript-react-native@df060f9

Original file line numberDiff line numberDiff line change

@@ -11,10 +11,6 @@ external addListener: (t, string, 'a => unit) => subscription = "addListener"

1111

@send

1212

external removeAllListeners: (t, string) => unit = "removeAllListeners"

1313
14-

@deprecated("Instead of using removeSubscription(), invoke `remove()` on the subscription itself.")

15-

@send

16-

external removeSubscription: (t, subscription) => unit = "removeSubscription"

17-
1814

@send external listenerCount: (t, string) => unit = "listenerCount"

1915
2016

module Subscription = {