zhengyiming
3 天以前 2efa169f1d54149c64b15cc8e2db937cb8390ee1
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;