diff --git a/toastr/toastr.d.ts b/toastr/toastr.d.ts index edf65d4073..e921bfbd7b 100644 --- a/toastr/toastr.d.ts +++ b/toastr/toastr.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Toastr 2.0.1 +// Type definitions for Toastr 2.1.1 // Project: https://github.com/CodeSeven/toastr // Definitions by: Boris Yankov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -174,6 +174,13 @@ interface Toastr { * @param toast Toast to clear */ (toast: JQuery): void; + /** + * Clear specific toast + * + * @param toast Toast to clear + * @param clearOptions force clearing a toast, ignoring focus + */ + (toast: JQuery, clearOptions: { force: boolean }): void; }; /** * Create an error toast