UNPKG

475 BTypeScriptView Raw
1import { ASTNode, TypeDefinitionNode, TypeExtensionNode, DocumentNode } from "graphql";
2declare module "graphql/language/predicates" {
3 function isTypeDefinitionNode(node: ASTNode): node is TypeDefinitionNode;
4 function isTypeExtensionNode(node: ASTNode): node is TypeExtensionNode;
5}
6export declare function isNode(maybeNode: any): maybeNode is ASTNode;
7export declare function isDocumentNode(node: ASTNode): node is DocumentNode;
8//# sourceMappingURL=graphql.d.ts.map
\No newline at end of file