2
0
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:
Dmitriy Mozgovoy
2022-12-01 21:03:58 +02:00
committed by GitHub
parent 6d367b9e2c
commit a6efeaf2d9
2 changed files with 6 additions and 1 deletions
Vendored
+3 -1
View File
@@ -263,6 +263,8 @@ type MaxUploadRate = number;
type MaxDownloadRate = number;
type BrowserProgressEvent = any;
export interface AxiosProgressEvent {
loaded: number;
total?: number;
@@ -272,7 +274,7 @@ export interface AxiosProgressEvent {
estimated?: number;
upload?: boolean;
download?: boolean;
event?: ProgressEvent;
event?: BrowserProgressEvent;
}
type Milliseconds = number;