VariablesInAllowedPosition.d.ts 372 B

123456789101112131415
  1. import { ASTVisitor } from '../../language/visitor';
  2. import { ValidationContext } from '../ValidationContext';
  3. export function badVarPosMessage(
  4. varName: string,
  5. varType: string,
  6. expectedType: string,
  7. ): string;
  8. /**
  9. * Variables passed to field arguments conform to type
  10. */
  11. export function VariablesInAllowedPosition(
  12. context: ValidationContext,
  13. ): ASTVisitor;