UNPKG

@graphql-tools/utils

Version:

Common package containing utils and types for GraphQL tools

12 lines (11 loc) 461 B
interface AggregateError extends Error { errors: any[]; } interface AggregateErrorConstructor { new (errors: Iterable<any>, message?: string): AggregateError; (errors: Iterable<any>, message?: string): AggregateError; readonly prototype: AggregateError; } declare let AggregateErrorImpl: AggregateErrorConstructor; export { AggregateErrorImpl as AggregateError }; export declare function isAggregateError(error: Error): error is AggregateError;