UniqueVariableNames.d.ts 382 B

1234567891011
  1. import { ASTVisitor } from '../../language/visitor';
  2. import { ASTValidationContext } from '../ValidationContext';
  3. export function duplicateVariableMessage(variableName: string): string;
  4. /**
  5. * Unique variable names
  6. *
  7. * A GraphQL operation is only valid if all its variables are uniquely named.
  8. */
  9. export function UniqueVariableNames(context: ASTValidationContext): ASTVisitor;