amplifyquery
Version:
12 lines (11 loc) • 342 B
TypeScript
import { GraphQLClient } from "./types";
/**
* Function to set the client.
* @param client GraphQL client to inject.
*/
export declare function setClient(client: GraphQLClient): void;
/**
* Returns the currently configured client.
* Throws an error if the client has not been set.
*/
export declare function getClient(): GraphQLClient;