mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
Fix KoaApolloOptionsFunction interface
This commit is contained in:
parent
05fb6dc396
commit
5997b48653
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue