wupengfei
2025-09-29 4b5c8e7dded22be4af666b298f292b7bf53c4e30
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;