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

13 lines
359 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Unique directive names per location
*
* A GraphQL document is only valid if all directives at a given location
* are uniquely named.
*/
export function UniqueDirectivesPerLocationRule(
context: ASTValidationContext,
): ASTVisitor;