mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
More specific constructor for string or HTMLElement
This commit is contained in:
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user