axiosResponse.d.ts 354 B

123456789101112131415
  1. export declare global {
  2. interface AxiosResponseRes {
  3. code: Nullable<number> | Nullable<string>;
  4. message: Nullable<string>;
  5. success: Nullable<boolean>;
  6. data?: any;
  7. rows?: any;
  8. page?: Nullable<number>;
  9. pageNum?: Nullable<number>;
  10. records?: Nullable<number>;
  11. total?: Nullable<number>;
  12. msg?: Nullable<string>;
  13. }
  14. }