Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#3319 from jschaf/dz2
Browse files Browse the repository at this point in the history
Fix dropzone signatures
  • Loading branch information
basarat committed Dec 14, 2014
2 parents e68dc45 + 5e2e2ef commit 63fe3c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dropzone/dropzone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface DropzoneOptions {
headers?: any;
addRemoveLinks?: boolean;
previewsContainer?: string;
clickable?: boolean;
clickable?: any;
createImageThumbnails?: boolean;
maxThumbnailFilesize?: number;
thumbnailWidth?: number;
Expand All @@ -39,7 +39,7 @@ interface DropzoneOptions {
forceFallback?: boolean;
fallback?: () => void;

// dictionary options
// dictionary options
dictDefaultMessage?: string;
dictFallbackMessage?: string;
dictFallbackText?: string;
Expand All @@ -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);
Expand Down

0 comments on commit 63fe3c3

Please sign in to comment.