concatAST.d.ts 360 B

12345678
  1. import { 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. */
  7. export function concatAST(asts: ReadonlyArray<DocumentNode>): DocumentNode;