wupengfei
9 天以前 f37c78b6412db783615f8b38f0487c57136c4ed8
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;