github-pages-deploy-action/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts
2020-03-06 22:45:40 -05:00

13 lines
361 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Executable definitions
*
* A GraphQL document is only valid for execution if all definitions are either
* operation or fragment definitions.
*/
export function ExecutableDefinitionsRule(
context: ASTValidationContext,
): ASTVisitor;