diff --git a/packages/sdk/server-node/src/Emits.ts b/packages/sdk/server-node/src/Emits.ts index b0a318a90..1715648e0 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): Function[] { + listeners(eventName: string | symbol): Array<() => void> { return this.emitter.listeners(eventName); } - rawListeners(eventName: string | symbol): Function[] { + rawListeners(eventName: string | symbol): Array<() => void> { return this.emitter.rawListeners(eventName); }