mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-17 03:24:15 +08:00
More specific constructor for string or HTMLElement
This commit is contained in:
3
dropzone/dropzone.d.ts
vendored
3
dropzone/dropzone.d.ts
vendored
@@ -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