Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/toastr

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/toastr - npm Package Compare versions

Comparing version 2.1.36 to 2.1.37

31

toastr/index.d.ts

@@ -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 @@

7

toastr/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc