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

@types/promise-retry

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/promise-retry - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

promise-retry/index.d.ts

@@ -17,3 +17,3 @@ // Type definitions for promise-retry 1.1

*/
type RetryableFn = ((retry: (error: any) => never, attempt: number) => Promise<any>);
type RetryableFn<ResolutionType> = ((retry: (error: any) => never, attempt: number) => Promise<ResolutionType>);
/**

@@ -26,4 +26,4 @@ * Wrap all functions of the object with retry. The params can be entered in either order, just like in the original library.

*/
declare function promiseRetry(retryableFn: RetryableFn, options?: WrapOptions): Promise<any>;
declare function promiseRetry(options: WrapOptions, retryableFn: RetryableFn): Promise<any>;
declare function promiseRetry<ResolutionType>(retryableFn: RetryableFn<ResolutionType>, options?: WrapOptions): Promise<ResolutionType>;
declare function promiseRetry<ResolutionType>(options: WrapOptions, retryableFn: RetryableFn<ResolutionType>): Promise<ResolutionType>;
export = promiseRetry;
{
"name": "@types/promise-retry",
"version": "1.1.1",
"version": "1.1.2",
"description": "TypeScript definitions for promise-retry",

@@ -16,3 +16,3 @@ "license": "MIT",

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},

@@ -23,4 +23,4 @@ "scripts": {},

},
"typesPublisherContentHash": "6c392ad2570d042be9ca170df97f31b8cff9705f9500e63a6b62c222b0df7c12",
"typesPublisherContentHash": "15d6f2992c313c3451da1f57f703e43b078bd3cea47bea829858396789a6d531",
"typeScriptVersion": "2.3"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-retry
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-retry
Additional Details
* Last updated: Thu, 09 Nov 2017 22:14:16 GMT
* Last updated: Thu, 31 May 2018 20:09:03 GMT
* Dependencies: retry

@@ -14,0 +14,0 @@ * Global values: none

Sorry, the diff of this file is not supported yet

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