From a7ab3a694da947b29f1aea189a0d86b473cb5653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan?= Date: Fri, 29 Nov 2024 22:54:43 +0100 Subject: [PATCH] fix(servereventmanager): change value emit for respect type Event --- lib/core/server-event-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/server-event-manager.ts b/lib/core/server-event-manager.ts index 4adf6f4..e8b124d 100644 --- a/lib/core/server-event-manager.ts +++ b/lib/core/server-event-manager.ts @@ -57,7 +57,7 @@ export default class ServerEventManager implements EventManager { const localEventName = this.events[i].eventName; const match = regex.test(localEventName); if (match) { - this.emitter.emit(localEventName, args); + this.emitter.emit(localEventName, { detail: args || [] }); } i++; }