diff --git a/dropzone/dropzone.d.ts b/dropzone/dropzone.d.ts index 5dca7e169..655db6220 100644 --- a/dropzone/dropzone.d.ts +++ b/dropzone/dropzone.d.ts @@ -24,7 +24,7 @@ interface DropzoneOptions { headers?: any; addRemoveLinks?: boolean; previewsContainer?: string; - clickable?: boolean; + clickable?: any; createImageThumbnails?: boolean; maxThumbnailFilesize?: number; thumbnailWidth?: number; @@ -39,7 +39,7 @@ interface DropzoneOptions { forceFallback?: boolean; fallback?: () => void; - // dictionary options + // dictionary options dictDefaultMessage?: string; dictFallbackMessage?: string; dictFallbackText?: string; @@ -66,13 +66,13 @@ declare class Dropzone { off(eventName): void; removeFile(file: DropzoneFile): void; - removeAllFiles(): void; + removeAllFiles(cancelIfNecessary?: boolean): void; processQueue(): void; getAcceptedFiles(): DropzoneFile[]; getRejectedFiles(): DropzoneFile[]; getQueuedFiles(): DropzoneFile[]; getUploadingFiles(): DropzoneFile[]; - + emit(eventName: string, file: DropzoneFile, str?: string); emit(eventName: "thumbnail", file: DropzoneFile, path: string); emit(eventName: "addedfile", file: DropzoneFile);