2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

Fixed AxiosError status code type; (#4717)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Dmitriy Mozgovoy
2022-05-16 09:51:22 +03:00
committed by GitHub
parent 9be61dc1c9
commit 65b92958ae
Vendored
+1 -1
View File
@@ -182,7 +182,7 @@ export class AxiosError<T = unknown, D = any> extends Error {
request?: any;
response?: AxiosResponse<T, D>;
isAxiosError: boolean;
status?: string;
status?: number;
toJSON: () => object;
static readonly ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
static readonly ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";