mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
Change AxiosProgressEvent.event type to any; (#5308)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -321,6 +321,8 @@ declare namespace axios {
|
||||
serialize?: CustomParamsSerializer;
|
||||
}
|
||||
|
||||
type BrowserProgressEvent = any;
|
||||
|
||||
interface AxiosProgressEvent {
|
||||
loaded: number;
|
||||
total?: number;
|
||||
@@ -330,6 +332,7 @@ declare namespace axios {
|
||||
estimated?: number;
|
||||
upload?: boolean;
|
||||
download?: boolean;
|
||||
event?: BrowserProgressEvent;
|
||||
}
|
||||
|
||||
interface AxiosRequestConfig<D = any> {
|
||||
|
||||
Reference in New Issue
Block a user