UNPKG

592 BTypeScriptView Raw
1import * as React from 'react';
2import { DocumentNode } from 'graphql';
3import { OperationOption, DataProps } from './types';
4export declare function withSubscription<TProps extends TGraphQLVariables | {} = {}, TData extends object = {}, TGraphQLVariables extends object = {}, TChildProps extends object = DataProps<TData, TGraphQLVariables>>(document: DocumentNode, operationOptions?: OperationOption<TProps, TData, TGraphQLVariables, TChildProps>): (WrappedComponent: React.ComponentType<TProps & TChildProps>) => React.ComponentClass<TProps>;
5//# sourceMappingURL=subscription-hoc.d.ts.map
\No newline at end of file