14 lines
263 B
TypeScript
14 lines
263 B
TypeScript
/* eslint-disable */
|
|
import * as axios from 'axios';
|
|
|
|
// 扩展 axios 数据返回类型,可自行扩展
|
|
declare module 'axios' {
|
|
export interface AxiosResponse<T = any> {
|
|
code: number;
|
|
data: T;
|
|
message: string;
|
|
type?: string;
|
|
[key: string]: T;
|
|
}
|
|
}
|