diff --git a/index.d.ts b/index.d.ts index 74b2acd2cc..8a571eae6d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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;