UNPKG

@coko/client

Version:

Client side common code for coko apps

11 lines (10 loc) 454 B
import { ApolloClient, ApolloLink, InMemoryCache } from '@apollo/client'; type ApolloConfig = { link: ApolloLink; cache: InMemoryCache; }; type MakeApolloConfigFn = (config: ApolloConfig) => ApolloConfig; export declare function stripTypenames<T extends Record<string, unknown>>(obj: T): T; declare const makeApolloClient: (makeConfig?: MakeApolloConfigFn | null) => ApolloClient; export type { MakeApolloConfigFn }; export { makeApolloClient };