UNPKG

382 BTypeScriptView Raw
1import type { DocumentNode } from '../language/ast';
2/**
3 * Provided a collection of ASTs, presumably each from different files,
4 * concatenate the ASTs together into batched AST, useful for validating many
5 * GraphQL source files which together represent one conceptual application.
6 */
7export declare function concatAST(
8 documents: ReadonlyArray<DocumentNode>,
9): DocumentNode;