type UploadProgressEvent = { progress: number; total: number };
The number of bytes uploaded.
type progress = number;
The total number of bytes to be uploaded.
type total = number;