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