react-native-audio-record icon indicating copy to clipboard operation
react-native-audio-record copied to clipboard

Correct type definition for `.on`

Open ajcrites opened this issue 4 years ago • 0 comments

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

ajcrites avatar Jan 12 '21 17:01 ajcrites