Skip to content

Commit da9c882

Browse files
authored
Update AggregateError cause type
1 parent 3e6ecbc commit da9c882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aggregateerror.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export class AggregateError extends Error {
22
declare errors: unknown[]
3-
declare cause: unknown
3+
declare cause: Error | undefined
44

55
constructor(errors: unknown[], message: string, options: {cause?: unknown} = {}) {
66
super(message)

0 commit comments

Comments
 (0)