mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Improve toastr definitions
This commit is contained in:
Vendored
+5
-4
@@ -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;
|
||||
Reference in New Issue
Block a user