Skip to content

Commit 14b31db

Browse files
committed
Fix TypeScript definition for TypeScript 3.5
1 parent d8e00aa commit 14b31db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare class AggregateError extends Error implements Iterable<Error> {
4343
//=> [Error: baz]
4444
```
4545
*/
46-
constructor(errors: ReadonlyArray<Error | {[key: string]: unknown} | string>);
46+
constructor(errors: ReadonlyArray<Error | {[key: string]: any} | string>);
4747

4848
[Symbol.iterator](): IterableIterator<Error>;
4949
}

0 commit comments

Comments
 (0)