goodatlas / react-native-audio-record

Audio record buffers for React Native (iOS and Android)
MIT License
176 stars 101 forks source link

Correct type definition for `.on` #50

Open ajcrites opened 3 years ago

ajcrites commented 3 years ago

In the JavaScript, .on actually returns an EmitterSubscription rather than void. This is important mainly because you can call .remove on it.