Fix KoaApolloOptionsFunction interface

This commit is contained in:
Bojan Hribernik 2016-09-23 00:04:04 +02:00
parent 05fb6dc396
commit 5997b48653

View file

@ -5,7 +5,7 @@ import ApolloOptions from './apolloOptions';
import * as GraphiQL from '../modules/renderGraphiQL';
export interface KoaApolloOptionsFunction {
(req: koa.Request): ApolloOptions | Promise<ApolloOptions>;
(ctx: koa.Context): ApolloOptions | Promise<ApolloOptions>;
}
export interface KoaHandler {