From df6846025f7b47c87d1702be0575cd858adba13a Mon Sep 17 00:00:00 2001 From: Boris Yankov Date: Thu, 8 Nov 2012 05:38:43 +0200 Subject: [PATCH] Improve toastr definitions --- Definitions/toastr-1.0.d.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Definitions/toastr-1.0.d.ts b/Definitions/toastr-1.0.d.ts index 772970218..fe2253e61 100644 --- a/Definitions/toastr-1.0.d.ts +++ b/Definitions/toastr-1.0.d.ts @@ -27,10 +27,11 @@ interface ToastOptions { interface Toastr { options: ToastOptions; - info(message: string, title?: string); - warning(message: string, title?: string); - success(message: string, title?: string); - error(message: string, title?: string); + clear(): void; + info(message: string, title?: string): void; + warning(message: string, title?: string): void; + success(message: string, title?: string): void; + error(message: string, title?: string): void; } declare var toastr: Toastr; \ No newline at end of file