Add optional destination property to app event (#5230)

This commit is contained in:
Juho Heikka authored and GitHub committed 2022-04-13 11:32:04 +03:00
1 parent 39b17334ba
commit d5528eb9fe
1 file changed
+2 -1
+2 -1
View File
@@ -8,7 +8,8 @@ import { EventEmitter } from "../event-emitter";
export interface AppEvent {
name: string;
action: string;
params?: object;
destination?: string;
params?: Record<string, any>;
}
export const appEventBus = new EventEmitter<[AppEvent]>();