UNPKG

359 BTypeScriptView Raw
1import { ASTVisitor } from '../../language/visitor';
2import { ASTValidationContext } from '../ValidationContext';
3
4/**
5 * Unique directive names per location
6 *
7 * A GraphQL document is only valid if all directives at a given location
8 * are uniquely named.
9 */
10export function UniqueDirectivesPerLocationRule(
11 context: ASTValidationContext,
12): ASTVisitor;