UNPKG

434 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type { ValidationContext } from '../ValidationContext';
3/**
4 * Value literals of correct type
5 *
6 * A GraphQL document is only valid if all value literals are of the type
7 * expected at their position.
8 *
9 * See https://spec.graphql.org/draft/#sec-Values-of-Correct-Type
10 */
11export declare function ValuesOfCorrectTypeRule(
12 context: ValidationContext,
13): ASTVisitor;