Files
Shifted/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts
2026-02-10 01:14:19 +00:00

13 lines
421 B
TypeScript

import type { ASTVisitor } from '../../language/visitor';
import type { ValidationContext } from '../ValidationContext';
/**
* Variables in allowed position
*
* Variable usages must be compatible with the arguments they are passed to.
*
* See https://spec.graphql.org/draft/#sec-All-Variable-Usages-are-Allowed
*/
export declare function VariablesInAllowedPositionRule(
context: ValidationContext,
): ASTVisitor;