graphql
Version: 
A Query Language and Runtime which can target any service.
11 lines (10 loc) • 325 B
TypeScript
import type { ASTVisitor } from '../../language/visitor';
import type { SDLValidationContext } from '../ValidationContext';
/**
 * Unique type names
 *
 * A GraphQL document is only valid if all defined types have unique names.
 */
export declare function UniqueTypeNamesRule(
  context: SDLValidationContext,
): ASTVisitor;