mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
Fixing node types (#3237)
The `ProgressEvent` type comes from the `DOM` lib. This is typically unwanted when using axios in a NodeJS environment. Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Vendored
+2
-2
@@ -59,8 +59,8 @@ export interface AxiosRequestConfig {
|
||||
responseType?: ResponseType;
|
||||
xsrfCookieName?: string;
|
||||
xsrfHeaderName?: string;
|
||||
onUploadProgress?: (progressEvent: ProgressEvent) => void;
|
||||
onDownloadProgress?: (progressEvent: ProgressEvent) => void;
|
||||
onUploadProgress?: (progressEvent: any) => void;
|
||||
onDownloadProgress?: (progressEvent: any) => void;
|
||||
maxContentLength?: number;
|
||||
validateStatus?: ((status: number) => boolean | null);
|
||||
maxBodyLength?: number;
|
||||
|
||||
Reference in New Issue
Block a user