@apollo/client
Version:
A fully-featured caching GraphQL client.
6 lines • 542 B
TypeScript
import { DocumentNode } from 'graphql';
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
import { OperationVariables } from '../../core';
import { LazyQueryHookOptions, LazyQueryResultTuple } from '../types/types';
export declare function useLazyQuery<TData = any, TVariables extends OperationVariables = OperationVariables>(query: DocumentNode | TypedDocumentNode<TData, TVariables>, options?: LazyQueryHookOptions<TData, TVariables>): LazyQueryResultTuple<TData, TVariables>;
//# sourceMappingURL=useLazyQuery.d.ts.map