diff --git a/packages/sdk/server-node/src/Emits.ts b/packages/sdk/server-node/src/Emits.ts index 1715648e0..b0a318a90 100644 --- a/packages/sdk/server-node/src/Emits.ts +++ b/packages/sdk/server-node/src/Emits.ts @@ -50,11 +50,11 @@ export function Emits(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); }