data.d.ts 360 B

123456789101112131415161718192021
  1. declare module 'wangeditor-for-react';
  2. export enum Type {
  3. add,
  4. edit,
  5. }
  6. export type PostOrPutNoticeType = {
  7. id?: string;
  8. content: string;
  9. label: string;
  10. type: Type;
  11. imgUrl: string;
  12. };
  13. export interface noticeModalProps {
  14. closeModal: () => void;
  15. curNoticeData: Record<string, any>;
  16. visible: boolean;
  17. type: Type;
  18. GetNotice: () => void;
  19. }