summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/utilities/concatAST.d.ts
blob: 03d441e1caed5702af9af02a273e3493207e2f61 (plain)
1
2
3
4
5
6
7
8
import { DocumentNode } from '../language/ast';

/**
 * Provided a collection of ASTs, presumably each from different files,
 * concatenate the ASTs together into batched AST, useful for validating many
 * GraphQL source files which together represent one conceptual application.
 */
export function concatAST(asts: ReadonlyArray<DocumentNode>): DocumentNode;