Skip to content

Commit

Permalink
fix: type definition for fileUpload slot callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
volvachev authored and Egor Volvachev committed Dec 16, 2022
1 parent 2d636a6 commit 3faf3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/fileupload/FileUpload.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ export interface FileUploadSlots {
/**
* Function to remove an uploaded file.
*/
removeUploadedFileCallback: () => void;
removeUploadedFileCallback: (index: number) => void;
/**
* Function to remove a file.
*/
removeFileCallback: () => void;
removeFileCallback: (index: number) => void;
/**
* Uploaded progress as number.
*/
Expand Down

0 comments on commit 3faf3d3

Please sign in to comment.