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:
parent
39b17334ba
commit
d5528eb9fe
@ -8,7 +8,8 @@ import { EventEmitter } from "../event-emitter";
|
|||||||
export interface AppEvent {
|
export interface AppEvent {
|
||||||
name: string;
|
name: string;
|
||||||
action: string;
|
action: string;
|
||||||
params?: object;
|
destination?: string;
|
||||||
|
params?: Record<string, any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const appEventBus = new EventEmitter<[AppEvent]>();
|
export const appEventBus = new EventEmitter<[AppEvent]>();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user