@types/async-retry
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,7 +0,11 @@ | ||
// Type definitions for async-retry 1.3 | ||
// Type definitions for async-retry 1.4 | ||
// Project: https://github.com/zeit/async-retry#readme | ||
// Definitions by: Albert Wu <https://github.com/albertywu> | ||
// Pablo Rodríguez <https://github.com/MeLlamoPablo> | ||
// Rafał Sawicki <https://github.com/rafsawicki> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
import { OperationOptions } from 'retry'; | ||
declare function AsyncRetry<A>( | ||
@@ -13,8 +17,3 @@ fn: AsyncRetry.RetryFunction<A>, | ||
declare namespace AsyncRetry { | ||
interface Options { | ||
retries?: number; | ||
factor?: number; | ||
minTimeout?: number; | ||
maxTimeout?: number; | ||
randomize?: boolean; | ||
interface Options extends OperationOptions { | ||
onRetry?: (e: Error, attempt: number) => any; | ||
@@ -21,0 +20,0 @@ } |
{ | ||
"name": "@types/async-retry", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "TypeScript definitions for async-retry", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "MeLlamoPablo" | ||
}, | ||
{ | ||
"name": "Rafał Sawicki", | ||
"url": "https://github.com/rafsawicki", | ||
"githubUsername": "rafsawicki" | ||
} | ||
@@ -27,5 +32,7 @@ ], | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "d55317654520de31dcf21096a56fe384ef0cc9de05e712b09dc260869ee720d4", | ||
"typeScriptVersion": "2.0" | ||
"dependencies": { | ||
"@types/retry": "*" | ||
}, | ||
"typesPublisherContentHash": "ff5dc461aee5026c01b1d5f2463ffda4aa4a62a8de030b4654a08495ebbf6b87", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 01 Apr 2019 20:39:57 GMT | ||
* Dependencies: none | ||
* Last updated: Thu, 04 Apr 2019 18:13:35 GMT | ||
* Dependencies: @types/retry | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Albert Wu <https://github.com/albertywu>, Pablo Rodríguez <https://github.com/MeLlamoPablo>. | ||
These definitions were written by Albert Wu <https://github.com/albertywu>, Pablo Rodríguez <https://github.com/MeLlamoPablo>, Rafał Sawicki <https://github.com/rafsawicki>. |
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
3613
1
19
+ Added@types/retry@*
+ Added@types/retry@0.12.5(transitive)