mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added tests for success signature update
This commit is contained in:
@@ -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