UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

16 lines (13 loc) 467 B
import { ASTVisitor } from '../../language/visitor'; import { ValidationContext } from '../ValidationContext'; export function unknownTypeMessage( typeName: string, suggestedTypes: Array<string>, ): string; /** * Known type names * * A GraphQL document is only valid if referenced types (specifically * variable definitions and fragment conditions) are defined by the type schema. */ export function KnownTypeNames(context: ValidationContext): ASTVisitor;