From fdc717a56a09df99f43c0827a20c6aa5d67e2b0f Mon Sep 17 00:00:00 2001 From: urielCh Date: Wed, 13 Feb 2019 10:42:36 +0200 Subject: [PATCH] add missing Toastr.remove(toast: JQuery) --- types/toastr/index.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/types/toastr/index.d.ts b/types/toastr/index.d.ts index 8d5d163f7b..c9fa92e9a4 100644 --- a/types/toastr/index.d.ts +++ b/types/toastr/index.d.ts @@ -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