zhengyiming
3 天以前 d64e4b3a63f88ca012a7c76dc622533c29d2f3ce
src/hooks/useEvent.ts
@@ -3,6 +3,8 @@
export type GlobalEvent = {
  updateInsuranceClaim: any;
  'enterprise:add': any;
  'enterprise:edit': any;
};
export type GlobalEventListener<T extends keyof GlobalEvent> = (payload: GlobalEvent[T]) => any;