mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
More specific constructor for string or HTMLElement
This commit is contained in:
1 parent
371e57f2c9
commit
e1b2093b33
1 file changed
+2
-1
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