UNPKG

334 BTypeScriptView Raw
1import type { ASTVisitor } from '../../language/visitor';
2import type { SDLValidationContext } from '../ValidationContext';
3/**
4 * Unique operation types
5 *
6 * A GraphQL document is only valid if it has only one type per operation.
7 */
8export declare function UniqueOperationTypesRule(
9 context: SDLValidationContext,
10): ASTVisitor;