|
@@ -4,6 +4,8 @@ import type {
|
|
InternalAxiosRequestConfig,
|
|
InternalAxiosRequestConfig,
|
|
} from 'axios';
|
|
} from 'axios';
|
|
|
|
|
|
|
|
+type RequestResponse<T = any> = AxiosResponse<T>;
|
|
|
|
+
|
|
type RequestContentType =
|
|
type RequestContentType =
|
|
| 'application/json;charset=utf-8'
|
|
| 'application/json;charset=utf-8'
|
|
| 'application/octet-stream;charset=utf-8'
|
|
| 'application/octet-stream;charset=utf-8'
|
|
@@ -46,5 +48,6 @@ export type {
|
|
RequestClientOptions,
|
|
RequestClientOptions,
|
|
RequestContentType,
|
|
RequestContentType,
|
|
RequestInterceptorConfig,
|
|
RequestInterceptorConfig,
|
|
|
|
+ RequestResponse,
|
|
ResponseInterceptorConfig,
|
|
ResponseInterceptorConfig,
|
|
};
|
|
};
|