diff --git a/src/components/fileupload/FileUpload.d.ts b/src/components/fileupload/FileUpload.d.ts index adbe9aea23..e1e1279480 100755 --- a/src/components/fileupload/FileUpload.d.ts +++ b/src/components/fileupload/FileUpload.d.ts @@ -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. */