AggregateError.d.ts 461 B

1234567891011
  1. interface AggregateError extends Error {
  2. errors: any[];
  3. }
  4. interface AggregateErrorConstructor {
  5. new (errors: Iterable<any>, message?: string): AggregateError;
  6. (errors: Iterable<any>, message?: string): AggregateError;
  7. readonly prototype: AggregateError;
  8. }
  9. declare let AggregateErrorImpl: AggregateErrorConstructor;
  10. export { AggregateErrorImpl as AggregateError };
  11. export declare function isAggregateError(error: Error): error is AggregateError;