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.
15 lines
691 B
15 lines
691 B
4 months ago
|
import type * as ReactTypes from "react";
|
||
|
import type { ApolloClient } from "../../core/index.js";
|
||
|
import type { RenderPromises } from "../ssr/index.js";
|
||
|
export interface ApolloContextValue {
|
||
|
client?: ApolloClient<object>;
|
||
|
renderPromises?: RenderPromises;
|
||
|
}
|
||
|
export declare function getApolloContext(): ReactTypes.Context<ApolloContextValue>;
|
||
|
/**
|
||
|
* @deprecated This function has no "resetting" effect since Apollo Client 3.4.12,
|
||
|
* and will be removed in the next major version of Apollo Client.
|
||
|
* If you want to get the Apollo Context, use `getApolloContext` instead.
|
||
|
*/
|
||
|
export declare const resetApolloContext: typeof getApolloContext;
|
||
|
//# sourceMappingURL=ApolloContext.d.ts.map
|