UNPKG

335 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type { ASTValidationContext } from '../ValidationContext';
3/**
4 * Unique variable names
5 *
6 * A GraphQL operation is only valid if all its variables are uniquely named.
7 */
8export declare function UniqueVariableNamesRule(
9 context: ASTValidationContext,
10): ASTVisitor;