diff --git a/index.d.ts b/index.d.ts index f2127d443f..1f82f5080d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -125,8 +125,8 @@ export interface AxiosRequestConfig { responseEncoding?: responseEncoding | string; xsrfCookieName?: string; xsrfHeaderName?: string; - onUploadProgress?: (progressEvent: any) => void; - onDownloadProgress?: (progressEvent: any) => void; + onUploadProgress?: (progressEvent: ProgressEvent) => void; + onDownloadProgress?: (progressEvent: ProgressEvent) => void; maxContentLength?: number; validateStatus?: ((status: number) => boolean) | null; maxBodyLength?: number;