wupengfei
2025-09-19 fa1c70d463cf21eae78eafbeeee79206fc1adcc0
src/hooks/useEvent.ts
@@ -3,6 +3,10 @@
export type GlobalEvent = {
  'home:add': any;
  'taskManage:add': any;
  'taskManage:edit': any;
  sureTaskSettlementOrder: any;
  checkReceiveTask: any;
};
export type GlobalEventListener<T extends keyof GlobalEvent> = (payload: GlobalEvent[T]) => any;