aggregate-error
Advanced tools
Comparing version 3.0.1 to 3.1.0
/** | ||
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'; | ||
@@ -46,7 +46,7 @@ | ||
*/ | ||
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; |
{ | ||
"name": "aggregate-error", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "Create an error from multiple errors", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
6690