@types/async 3.2.7 → 3.2.8

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 +3 -2
  3. async/package.json +3 -3
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: Tue, 06 Jul 2021 18:05:36 GMT
11
+ * Last updated: Sat, 18 Sep 2021 09:31:20 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `async`
14
14
 
async/index.d.ts CHANGED
@@ -340,8 +340,9 @@ export function cargoQueue<T, E = Error>(
340
340
  concurrency?: number,
341
341
  payload?: number,
342
342
  ): QueueObject<T>;
343
- export function auto<R extends Dictionary<any>, E = Error>(tasks: AsyncAutoTasks<R, E>, concurrency?: number, callback?: AsyncResultCallback<R, E>): void;
344
- export function auto<R extends Dictionary<any>, E = Error>(tasks: AsyncAutoTasks<R, E>, callback?: AsyncResultCallback<R, E>): void;
343
+ export function auto<R extends Dictionary<any>, E = Error>(tasks: AsyncAutoTasks<R, E>, concurrency?: number): Promise<R>;
344
+ export function auto<R extends Dictionary<any>, E = Error>(tasks: AsyncAutoTasks<R, E>, concurrency: number, callback: AsyncResultCallback<R, E>): void;
345
+ export function auto<R extends Dictionary<any>, E = Error>(tasks: AsyncAutoTasks<R, E>, callback: AsyncResultCallback<R, E>): void;
345
346
  export function autoInject<E = Error>(tasks: any, callback?: AsyncResultCallback<any, E>): void;
346
347
 
347
348
  export interface RetryOptions<E> {
async/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/async",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
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": "a7f55effef6626a2acf65e1b02c8f8269289bd42332c90fcb08bae53adbc64c8",
64
- "typeScriptVersion": "3.6"
63
+ "typesPublisherContentHash": "3f35b238c96275a2c048c3cb20dc43836163366b79ac6be29293d6c83bbbafdf",
64
+ "typeScriptVersion": "3.7"
65
65
  }