wupengfei
2025-09-25 25f7a02df424eb4b8f12534d9a94484abb3bcfb4
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;