Fix Toastr definitions

This commit is contained in:
Boris Yankov
2012-11-09 19:58:37 +02:00
parent 02b302faa7
commit b1aa03cad8
2 changed files with 6 additions and 5 deletions
+5 -3
View File
@@ -4,6 +4,8 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="jquery-1.8.d.ts" />
interface ToastrOptions {
tapToDismiss?: bool;
toastClass?: string;
@@ -28,9 +30,9 @@ interface ToastrOptions {
}
interface ToastrDisplayMethod {
(message: string): void;
(message: string, title: string): void;
(message: string, title: string, overrides: ToastrOptions): void;
(message: string): JQuery;
(message: string, title: string): JQuery;
(message: string, title: string, overrides: ToastrOptions): JQuery;
}
interface Toastr {