@types/async 2.4.1 → 2.4.2

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 +4 -3
async/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Async ( https://github.com/caolan/asy
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, 13 Feb 2019 16:16:45 GMT
11
+ * Last updated: Wed, 08 May 2019 18:19:21 GMT
12
12
  * Dependencies: none
13
13
  * Global values: async
14
14
 
async/index.d.ts CHANGED
@@ -197,7 +197,8 @@ export function autoInject<E = Error>(tasks: any, callback?: AsyncResultCallback
197
197
  export function retry<T, E = Error>(
198
198
  opts: number | {
199
199
  times: number,
200
- interval: number | ((retryCount: number) => number)
200
+ interval: number | ((retryCount: number) => number),
201
+ errorFilter?: (error: Error) => boolean
201
202
  },
202
203
  task: (callback: AsyncResultCallback<T, E>, results: any) => void,
203
204
  callback: AsyncResultCallback<any, E>
async/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/async",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "TypeScript definitions for Async",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -39,10 +39,11 @@
39
39
  "types": "index",
40
40
  "repository": {
41
41
  "type": "git",
42
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
42
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
43
+ "directory": "types/async"
43
44
  },
44
45
  "scripts": {},
45
46
  "dependencies": {},
46
- "typesPublisherContentHash": "67af27fec7c532821e85cc478e839cfbf6efaaa1bb0244ac018073ded46d7c90",
47
+ "typesPublisherContentHash": "716f37fa2c17bb055eb8af84715961d423052cf4c70daba687da45fe4f024206",
47
48
  "typeScriptVersion": "2.3"
48
49
  }