2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Merge pull request #1131 from jmmk/axios-response-request

Add request field to AxiosResponse type definition
This commit is contained in:
Nick Uraltsev
2017-10-24 07:47:16 -07:00
committed by GitHub
Vendored
+1
View File
@@ -50,6 +50,7 @@ export interface AxiosResponse<T = any> {
statusText: string; statusText: string;
headers: any; headers: any;
config: AxiosRequestConfig; config: AxiosRequestConfig;
request?: any;
} }
export interface AxiosError extends Error { export interface AxiosError extends Error {