You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
853 B
10 lines
853 B
5 months ago
|
import type * as ReactTypes from "react";
|
||
|
import type { DocumentNode } from "graphql";
|
||
|
import type { OperationOption, DataProps } from "./types.js";
|
||
|
/**
|
||
|
* @deprecated
|
||
|
* Official support for React Apollo higher order components ended in March 2020.
|
||
|
* This library is still included in the `@apollo/client` package, but it no longer receives feature updates or bug fixes.
|
||
|
*/
|
||
|
export 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: ReactTypes.ComponentType<TProps & TChildProps>) => ReactTypes.ComponentClass<TProps>;
|
||
|
//# sourceMappingURL=subscription-hoc.d.ts.map
|