fuse
Version:
The magical GraphQL framework
11 lines (7 loc) • 345 B
TypeScript
import { ClientOptions, Client } from 'urql';
export * from 'urql';
import { Exchange } from '@urql/core';
declare const cacheExchange: Exchange;
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
declare const createClient: (opts: Optional<ClientOptions, 'exchanges'>) => Client;
export { cacheExchange, createClient };