@types/async
Advanced tools
Comparing version 3.2.13 to 3.2.14
@@ -25,2 +25,3 @@ // Type definitions for Async 3.2 | ||
export interface AsyncResultObjectCallback<T, E = Error> { (err: E | undefined, results: Dictionary<T | undefined>): void; } | ||
export interface AsyncResultRestCallback<T, E = Error> { (err?: E | null, ...results: T[]): void; } | ||
@@ -343,3 +344,3 @@ export interface AsyncFunction<T, E = Error> { (callback: (err?: E | null, result?: T) => void): void; } | ||
fn: AsyncFunctionEx<T, E>, | ||
callback: AsyncFunctionEx<T, E> | ||
callback: AsyncResultRestCallback<T, E> | ||
): void; | ||
@@ -353,3 +354,3 @@ export function whilst<T, R, E = Error>( | ||
test: (/* ...results: T[], */ cb: AsyncBooleanResultCallback) => void, | ||
callback: AsyncFunctionEx<T, E> | ||
callback: AsyncResultRestCallback<T, E> | ||
): void; | ||
@@ -363,3 +364,3 @@ export function doWhilst<T, R, E = Error>( | ||
fn: AsyncFunctionEx<T, E>, | ||
callback: AsyncFunctionEx<T, E> | ||
callback: AsyncResultRestCallback<T, E> | ||
): void; | ||
@@ -373,3 +374,3 @@ export function until<T, R, E = Error>( | ||
test: (/* ...results: T[], */ cb: AsyncBooleanResultCallback) => void, | ||
callback: AsyncFunctionEx<T, E> | ||
callback: AsyncResultRestCallback<T, E> | ||
): void; | ||
@@ -376,0 +377,0 @@ export function doUntil<T, R, E = Error>( |
{ | ||
"name": "@types/async", | ||
"version": "3.2.13", | ||
"version": "3.2.14", | ||
"description": "TypeScript definitions for Async", | ||
@@ -63,4 +63,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "22f27984669b642fb97f4bfad08565120dfd1343e70b2d79ba4d08616f3347f7", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "96d9c2e81a18d5af2a2879d63903b4884278d5c8517d02f4dbc32370afe6dfee", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 26 Apr 2022 19:01:45 GMT | ||
* Last updated: Tue, 28 Jun 2022 00:31:38 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `async` |
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
28737
425