next-with-apollo
Version:
Apollo HOC for Next.js
11 lines (10 loc) • 339 B
TypeScript
/// <reference types="react" />
import App from 'next/app';
import { WithApolloProps } from './types';
/**
* Useful if you don't have a custom _app and don't need one, otherwise
* always extend from Next's App
*/
export default class ApolloApp<TCache = any> extends App<WithApolloProps<TCache>> {
render(): JSX.Element;
}