@types/toastr
Advanced tools
Comparing version 2.1.36 to 2.1.37
@@ -228,19 +228,6 @@ // Type definitions for Toastr 2.1.3 | ||
* @param message Message to display in toast | ||
*/ | ||
(message: string): JQuery; | ||
/** | ||
* Create a toast | ||
* | ||
* @param message Message to display in toast | ||
* @param title Title to display on toast | ||
*/ | ||
(message: string, title: string): JQuery; | ||
/** | ||
* Create a toast | ||
* | ||
* @param message Message to display in toast | ||
* @param title Title to display on toast | ||
* @param overrides Option values for toast | ||
*/ | ||
(message: string, title: string, overrides: ToastrOptions): JQuery; | ||
(message: string, title?: string, overrides?: ToastrOptions): JQuery; | ||
} | ||
@@ -306,18 +293,8 @@ | ||
/** | ||
* Clear all toasts | ||
*/ | ||
(): void; | ||
/** | ||
* Clear specific toast | ||
* | ||
* @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; | ||
(toast?: JQuery, clearOptions?: {force: boolean}): void; | ||
}; | ||
@@ -387,5 +364,3 @@ /** | ||
*/ | ||
subscribe: (callback: (response: ToastrResponse) => any) => void; | ||
[key: string]: any; | ||
subscribe: (callback: (response: ToastrResponse) => void) => void; | ||
} | ||
@@ -392,0 +367,0 @@ |
{ | ||
"name": "@types/toastr", | ||
"version": "2.1.36", | ||
"version": "2.1.37", | ||
"description": "TypeScript definitions for Toastr", | ||
@@ -17,3 +17,4 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/toastr" | ||
}, | ||
@@ -24,4 +25,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "be1e6459362a1fff08a2e178e57362cff5a01577206039fb3123e08d5630e361", | ||
"typesPublisherContentHash": "6fc25552e4265a361c889b874b6e652485601fce34b8a1a8743bf716a509bb43", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 21 Feb 2019 22:15:43 GMT | ||
* Last updated: Wed, 03 Apr 2019 16:50:27 GMT | ||
* Dependencies: @types/jquery | ||
@@ -14,0 +14,0 @@ * Global values: toastr |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10735
359