UNPKG

421 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type { ValidationContext } from '../ValidationContext';
3/**
4 * Variables in allowed position
5 *
6 * Variable usages must be compatible with the arguments they are passed to.
7 *
8 * See https://spec.graphql.org/draft/#sec-All-Variable-Usages-are-Allowed
9 */
10export declare function VariablesInAllowedPositionRule(
11 context: ValidationContext,
12): ASTVisitor;