src/types/axios.d.ts @@ -1,7 +1,7 @@ import axios from 'axios'; declare module 'axios' { export interface AxiosResponse<T = any> { interface AxiosResponse<T = any> { code: number; msg: string; rows: T;