程控源调整
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import mitt from "mitt";
|
||||
|
||||
export const STOP_DETECTION_TIMER_EVENT = "stopDetectionTimer";
|
||||
export const TAB_CLOSED_EVENT = "tabClosed";
|
||||
|
||||
type MittBusEvents = {
|
||||
openThemeDrawer: undefined;
|
||||
[STOP_DETECTION_TIMER_EVENT]: undefined;
|
||||
[TAB_CLOSED_EVENT]: string;
|
||||
};
|
||||
|
||||
const mittBus = mitt<MittBusEvents>();
|
||||
|
||||
Reference in New Issue
Block a user