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

12 lines
323 B
TypeScript

import { ASTVisitor } from '../../language/visitor';
import { SDLValidationContext } from '../ValidationContext';
/**
* Unique directive names
*
* A GraphQL document is only valid if all defined directives have unique names.
*/
export function UniqueDirectiveNamesRule(
context: SDLValidationContext,
): ASTVisitor;