mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Added tests for success signature update
This commit is contained in:
1 parent
c331a71f24
commit
0d6fa711d9
1 file changed
+7
@@ -131,6 +131,13 @@ dropzoneWithOptionsVariations = new Dropzone(".test", {
|
||||
clickable: ["test", document.getElementById("test")]
|
||||
});
|
||||
|
||||
dropzoneWithOptionsVariations = new Dropzone(".test", {
|
||||
success: (file:DropzoneFile, response:Object) => console.log(file, response)
|
||||
});
|
||||
dropzoneWithOptionsVariations = new Dropzone(".test", {
|
||||
success: (file:DropzoneFile, response:string) => console.log(file, response)
|
||||
});
|
||||
|
||||
const dropzone = new Dropzone(".test");
|
||||
|
||||
dropzone.enable();
|
||||
|
||||
Reference in new issue
Block a user