13 lines
421 B
TypeScript
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;
|