fix: type definition for fileUpload slot callbacks

Fixes #3396.
pull/3422/head
Egor Volvachev 2022-12-16 22:23:32 +03:00 committed by Egor Volvachev
parent c671256f90
commit f1da58a7d7
1 changed files with 2 additions and 2 deletions

View File

@ -252,11 +252,11 @@ export interface FileUploadSlots {
/** /**
* Function to remove an uploaded file. * Function to remove an uploaded file.
*/ */
removeUploadedFileCallback: () => void; removeUploadedFileCallback: (index: number) => void;
/** /**
* Function to remove a file. * Function to remove a file.
*/ */
removeFileCallback: () => void; removeFileCallback: (index: number) => void;
/** /**
* Uploaded progress as number. * Uploaded progress as number.
*/ */