diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-09-30 22:07:22 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-09-30 22:07:22 +0300 |
commit | fef2646347bbb8ccfa9239cc9d99debae002552b (patch) | |
tree | 208869c994d557eaab260e5f099fca5d524ea66e /node_modules/aggregate-error | |
parent | 3a978ffc7fddd6802c81996a5710b2efd15edc11 (diff) |
chore: refresh transitive deps
Diffstat (limited to 'node_modules/aggregate-error')
-rw-r--r-- | node_modules/aggregate-error/index.d.ts | 6 | ||||
-rw-r--r-- | node_modules/aggregate-error/package.json | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/node_modules/aggregate-error/index.d.ts b/node_modules/aggregate-error/index.d.ts index 2cec44a00..502bf7ad1 100644 --- a/node_modules/aggregate-error/index.d.ts +++ b/node_modules/aggregate-error/index.d.ts @@ -1,7 +1,7 @@ /** Create an error from multiple errors. */ -declare class AggregateError extends Error implements Iterable<Error> { +declare class AggregateError<T extends Error = Error> extends Error implements Iterable<T> { readonly name: 'AggregateError'; /** @@ -43,9 +43,9 @@ declare class AggregateError extends Error implements Iterable<Error> { //=> [Error: baz] ``` */ - constructor(errors: ReadonlyArray<Error | {[key: string]: any} | string>); + constructor(errors: ReadonlyArray<T | {[key: string]: any} | string>); - [Symbol.iterator](): IterableIterator<Error>; + [Symbol.iterator](): IterableIterator<T>; } export = AggregateError; diff --git a/node_modules/aggregate-error/package.json b/node_modules/aggregate-error/package.json index d352fc1a1..74fcc3761 100644 --- a/node_modules/aggregate-error/package.json +++ b/node_modules/aggregate-error/package.json @@ -1,6 +1,6 @@ { "name": "aggregate-error", - "version": "3.0.1", + "version": "3.1.0", "description": "Create an error from multiple errors", "license": "MIT", "repository": "sindresorhus/aggregate-error", |