UNPKG

next-with-apollo

Version:
7 lines (6 loc) 359 B
/// <reference types="node" /> import ApolloClient from 'apollo-client'; import { IncomingHttpHeaders } from 'http'; import 'isomorphic-unfetch'; import { InitApolloOptions } from './types'; export default function initApollo<TCache = any>(options: InitApolloOptions<TCache>, headers?: IncomingHttpHeaders, initialState?: TCache): ApolloClient<TCache>;