Skip to content

Commit

Permalink
Merge pull request #1073 from ably/fix-event-emitter-off-signature
Browse files Browse the repository at this point in the history
fix: add EventEmitter.off signature with no args
  • Loading branch information
owenpearson authored Nov 9, 2022
2 parents ff49bb8 + 386605a commit 63e9e67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ably.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,10 @@ declare namespace Types {
* @param callback - The event listener.
*/
off(callback: CallbackType): void;
/**
* Deregisters all registrations, for all events and listeners.
*/
off(): void;
/**
* Returns the listeners for a specified `EventType`.
*
Expand Down

0 comments on commit 63e9e67

Please sign in to comment.