Skip to content

Commit

Permalink
handle any type for now
Browse files Browse the repository at this point in the history
Took 8 minutes
  • Loading branch information
bassem97 committed Oct 16, 2023
1 parent 997b6b3 commit d5ff8a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/UpupUploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ export const UpupUploader: FC<UpupUploaderProps & RefAttributes<any>> =
* Get the client instance
*/
const handler = new XhrHttpHandler({})

handler.on(
;(handler as any).on(
XhrHttpHandler.EVENTS.UPLOAD_PROGRESS,
(xhr: ProgressEvent) => {
const progress = Math.round((xhr.loaded / xhr.total) * 100)
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const LIB_VERSION = '2.2.21'
export const LIB_VERSION = "2.2.23";

0 comments on commit d5ff8a1

Please sign in to comment.