More specific constructor for string or HTMLElement

This commit is contained in:
Steven 2014-07-01 10:33:28 -07:00
parent 371e57f2c9
commit e1b2093b33

View File

@ -54,7 +54,8 @@ interface DropzoneOptions {
}
declare class Dropzone {
constructor(container: any, options?: DropzoneOptions);
constructor(container: string, options?: DropzoneOptions);
constructor(container: HTMLElement, options?: DropzoneOptions);
static autoDiscover: boolean;
static options: any;
static confirm: (question: string, accepted: () => void, rejected?: () => void) => void;