UNPKG

309 BTypeScriptView Raw
1import type { FetchResult } from "../../link/core/index.js";
2export declare function graphQLResultHasError<T>(result: FetchResult<T>): boolean;
3export declare function getGraphQLErrorsFromResult<T>(result: FetchResult<T>): import("graphql").GraphQLFormattedError[];
4//# sourceMappingURL=errorHandling.d.ts.map
\No newline at end of file