UNPKG

413 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type { ASTValidationContext } from '../ValidationContext';
3/**
4 * Unique argument names
5 *
6 * A GraphQL field or directive is only valid if all supplied arguments are
7 * uniquely named.
8 *
9 * See https://spec.graphql.org/draft/#sec-Argument-Names
10 */
11export declare function UniqueArgumentNamesRule(
12 context: ASTValidationContext,
13): ASTVisitor;