wupengfei
2025-02-20 d924a0e3ad6d0d9905e5c198d64dc3339f3bc549
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;