mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add optional destination property to app event (#5230)
This commit is contained in:
1 parent
39b17334ba
commit
d5528eb9fe
1 file changed
+2
-1
@@ -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]>();
|
||||
Reference in new issue
Block a user