Merge pull request #3422 from volvachev/fix-typing-for-file-upload-new

fix: type definition for fileUpload slot callbacks
pull/3509/head
Tuğçe Küçükoğlu 2023-01-09 13:14:13 +03:00 committed by GitHub
commit 90ef6aee48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.
*/