Type Alias GraphQLQueryOptions<Result, Variables>

GraphQLQueryOptions: {
    extensions?: Record<string, unknown>;
    operationName?: string;
    query: GraphQLDocument<Result, Variables>;
} & (
    Variables extends { [key: string]: never }
        ? { variables?: Variables }
        : { variables: Variables }
)

Type Parameters

  • Result = Record<string, unknown>
  • Variables = Record<string, unknown>