@types/async 3.2.17 → 3.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. async/README.md +1 -1
  2. async/index.d.ts +2 -1
  3. async/package.json +2 -2
async/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Async (https://github.com/caolan/asyn
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 15 Feb 2023 02:02:38 GMT
11
+ * Last updated: Wed, 15 Feb 2023 14:32:37 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `async`
14
14
 
async/index.d.ts CHANGED
@@ -392,7 +392,8 @@ export function doUntil<T, R, E = Error>(
392
392
  export function during<E = Error>(test: (testCallback: AsyncBooleanResultCallback<E>) => void, fn: AsyncVoidFunction<E>, callback: ErrorCallback<E>): void;
393
393
  export function doDuring<E = Error>(fn: AsyncVoidFunction<E>, test: (testCallback: AsyncBooleanResultCallback<E>) => void, callback: ErrorCallback<E>): void;
394
394
  export function forever<E = Error>(next: (next: ErrorCallback<E>) => void, errBack: ErrorCallback<E>): void;
395
- export function waterfall<T, E = Error>(tasks: Function[], callback?: AsyncResultCallback<T, E>): void;
395
+ export function waterfall<T>(tasks: Function[]): Promise<T>;
396
+ export function waterfall<T, E = Error>(tasks: Function[], callback: AsyncResultCallback<T, E>): void;
396
397
  export function compose(...fns: Function[]): Function;
397
398
  export function seq(...fns: Function[]): Function;
398
399
  export function applyEach(fns: Function[], ...argsAndCallback: any[]): void; // applyEach(fns, args..., callback). TS does not support ... for a middle argument. Callback is optional.
async/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/async",
3
- "version": "3.2.17",
3
+ "version": "3.2.18",
4
4
  "description": "TypeScript definitions for Async",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async",
6
6
  "license": "MIT",
@@ -60,6 +60,6 @@
60
60
  },
61
61
  "scripts": {},
62
62
  "dependencies": {},
63
- "typesPublisherContentHash": "f02a41db25d14044f4927f9e059eb3c73b12239aece63dcf8259caeb80bafe64",
63
+ "typesPublisherContentHash": "ab0621112da61fdc145d8719331eb5920a1c2dfda63ddce0b6c948b94d0f0645",
64
64
  "typeScriptVersion": "4.2"
65
65
  }