Comparing version 1.0.1 to 1.0.2
@@ -5,3 +5,3 @@ export interface RetryOptions { | ||
} | ||
export declare function retry<T>(fn: () => T, retryOptions: RetryOptions): Promise<{}>; | ||
export declare function retry<T>(fn: () => T, retryOptions: RetryOptions): Promise<T>; | ||
export declare function retryAsync<T>(fn: () => Promise<T>, { maxTry, delay }: RetryOptions): Promise<T>; |
{ | ||
"name": "ts-retry", | ||
"version": "1.0.1", | ||
"main": "index.js", | ||
"version": "1.0.2", | ||
"main": "lib/index.js", | ||
"repository": "https://github.com/franckLdx/ts-retry.git", | ||
@@ -6,0 +6,0 @@ "author": "Franck Ledoux <franck.ledoux.pro@gmail.com>", |
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
4257