Sha256: 34534c0ead52cc753bdfdd486430ef67f615ace54a4c0e5a3652b4116af84d6d
Contents?: true
Size: 801 Bytes
Versions: 26
Compression:
Stored size: 801 Bytes
Contents
import type { DocumentNode, ExecutableDefinitionNode } from '../language/ast'; /** * Wrapper type that contains DocumentNode and types that can be deduced from it. */ export interface TypedQueryDocumentNode< TResponseData = { [key: string]: any; }, TRequestVariables = { [key: string]: any; }, > extends DocumentNode { readonly definitions: ReadonlyArray<ExecutableDefinitionNode>; /** * This type is used to ensure that the variables you pass in to the query are assignable to Variables * and that the Result is assignable to whatever you pass your result to. The method is never actually * implemented, but the type is valid because we list it as optional */ __ensureTypesOfVariablesAndResultMatching?: ( variables: TRequestVariables, ) => TResponseData; }
Version data entries
26 entries across 26 versions & 1 rubygems