UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

5 lines 600 B
/// <reference types="react" /> import { DocumentNode } from 'graphql'; import { OperationOption, DataProps, MutateProps } from './types'; export declare function graphql<TProps extends TGraphQLVariables | {} = {}, TData = {}, TGraphQLVariables = {}, TChildProps = Partial<DataProps<TData, TGraphQLVariables>> & Partial<MutateProps<TData, TGraphQLVariables>>>(document: DocumentNode, operationOptions?: OperationOption<TProps, TData, TGraphQLVariables, TChildProps>): (WrappedComponent: React.ComponentType<TProps & TChildProps>) => React.ComponentClass<TProps>; //# sourceMappingURL=graphql.d.ts.map