summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts
blob: 6f15764a34d4f4186ce71d59af57dc0ce250de86 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';

/**
 * Unique variable names
 *
 * A GraphQL operation is only valid if all its variables are uniquely named.
 */
export function UniqueVariableNamesRule(
  context: ASTValidationContext,
): ASTVisitor;