UniqueArgumentNames.d.ts 389 B

123456789101112
  1. import { ASTVisitor } from '../../language/visitor';
  2. import { ASTValidationContext } from '../ValidationContext';
  3. export function duplicateArgMessage(argName: string): string;
  4. /**
  5. * Unique argument names
  6. *
  7. * A GraphQL field or directive is only valid if all supplied arguments are
  8. * uniquely named.
  9. */
  10. export function UniqueArgumentNames(context: ASTValidationContext): ASTVisitor;