Improve toastr definitions

This commit is contained in:
Boris Yankov
2012-11-08 05:43:15 +02:00
parent c1a5e73527
commit df6846025f
+5 -4
View File
@@ -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;