We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5160d1 commit 0f8f9f0Copy full SHA for 0f8f9f0
src/lib/esnext.promise.d.ts
@@ -1,3 +1,15 @@
1
+interface AggregateError extends Error {
2
+ errors: any[]
3
+}
4
+
5
+interface AggregateErrorConstructor {
6
+ new(errors: Iterable<any>, message?: string): AggregateError;
7
+ (errors: Iterable<any>, message?: string): AggregateError;
8
+ readonly prototype: AggregateError;
9
10
11
+declare var AggregateError: AggregateErrorConstructor;
12
13
/**
14
* Represents the completion of an asynchronous operation
15
*/
0 commit comments