From d5528eb9fed691c69e8b1aaa8e15215cb334ffe3 Mon Sep 17 00:00:00 2001 From: Juho Heikka Date: Wed, 13 Apr 2022 11:32:04 +0300 Subject: [PATCH] Add optional destination property to app event (#5230) --- src/common/app-event-bus/event-bus.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/app-event-bus/event-bus.ts b/src/common/app-event-bus/event-bus.ts index 71a27e1a42..67d23587c7 100644 --- a/src/common/app-event-bus/event-bus.ts +++ b/src/common/app-event-bus/event-bus.ts @@ -8,7 +8,8 @@ import { EventEmitter } from "../event-emitter"; export interface AppEvent { name: string; action: string; - params?: object; + destination?: string; + params?: Record; } export const appEventBus = new EventEmitter<[AppEvent]>();