wupengfei
2 天以前 f768d6fb5fc32a150d24b9dc5483ecc4ef9a6e22
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;