mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
add missing Toastr.remove(toast: JQuery)
This commit is contained in:
Vendored
+10
-1
@@ -320,10 +320,19 @@ interface Toastr {
|
||||
(toast: JQuery, clearOptions: {force: boolean}): void;
|
||||
};
|
||||
/**
|
||||
* Removes all toasts (without animation)
|
||||
* Removes toasts (without animation)
|
||||
*/
|
||||
remove: {
|
||||
/**
|
||||
* Removes all toasts (without animation)
|
||||
*/
|
||||
(): void;
|
||||
/**
|
||||
* Removes specific toasts (without animation)
|
||||
*
|
||||
* @param toast Toast to remove
|
||||
*/
|
||||
(toast: JQuery): void;
|
||||
};
|
||||
/**
|
||||
* Create an error toast
|
||||
|
||||
Reference in New Issue
Block a user