Skip to content

Commit

Permalink
chore: Revert - Fix incompatibility with @types/node release. (#649)
Browse files Browse the repository at this point in the history
Reverts #646
  • Loading branch information
kinyoklion authored Oct 31, 2024
1 parent 2a9a0de commit 473e0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/server-node/src/Emits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ export function Emits<TBase extends Eventable>(Base: TBase) {
return this.emitter.getMaxListeners();
}

listeners(eventName: string | symbol): Array<() => void> {
listeners(eventName: string | symbol): Function[] {
return this.emitter.listeners(eventName);
}

rawListeners(eventName: string | symbol): Array<() => void> {
rawListeners(eventName: string | symbol): Function[] {
return this.emitter.rawListeners(eventName);
}

Expand Down

0 comments on commit 473e0cb

Please sign in to comment.