Skip to content

Commit

Permalink
Fix TypeScript definition for TypeScript 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 4, 2019
1 parent d8e00aa commit 14b31db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare class AggregateError extends Error implements Iterable<Error> {
//=> [Error: baz]
```
*/
constructor(errors: ReadonlyArray<Error | {[key: string]: unknown} | string>);
constructor(errors: ReadonlyArray<Error | {[key: string]: any} | string>);

[Symbol.iterator](): IterableIterator<Error>;
}
Expand Down

0 comments on commit 14b31db

Please sign in to comment.