summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/utilities/concatAST.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/utilities/concatAST.d.ts')
-rw-r--r--school/node_modules/graphql/utilities/concatAST.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/school/node_modules/graphql/utilities/concatAST.d.ts b/school/node_modules/graphql/utilities/concatAST.d.ts
new file mode 100644
index 0000000..03d441e
--- /dev/null
+++ b/school/node_modules/graphql/utilities/concatAST.d.ts
@@ -0,0 +1,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;