zhengyiming
2025-08-22 8e47005cbccfc9eac308e60e430a69091c26fb21
src/hooks/useEvent.ts
@@ -3,6 +3,10 @@
export type GlobalEvent = {
  'home:add': any;
  'taskManage:add': any;
  'taskManage:edit': any;
  checkReceiveTask: any;
  serviceChargeSettle: any;
};
export type GlobalEventListener<T extends keyof GlobalEvent> = (payload: GlobalEvent[T]) => any;