From 7c0dd0eee048401c172bead8a17d547617fd2599 Mon Sep 17 00:00:00 2001 From: Hagai Cohen Date: Thu, 18 May 2017 01:00:12 +0300 Subject: [PATCH] chore(hapi): fix typings rename --- packages/graphql-server-hapi/src/hapiApollo.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/graphql-server-hapi/src/hapiApollo.ts b/packages/graphql-server-hapi/src/hapiApollo.ts index 4a5e7369..0be52392 100644 --- a/packages/graphql-server-hapi/src/hapiApollo.ts +++ b/packages/graphql-server-hapi/src/hapiApollo.ts @@ -1,5 +1,5 @@ import * as Boom from 'boom'; -import { Server, Response, Request, IReply } from 'hapi'; +import { Server, Response, Request, ReplyNoContinue } from 'hapi'; import * as GraphiQL from 'graphql-server-module-graphiql'; import { GraphQLOptions, runHttpQuery, HttpQueryError } from 'graphql-server-core'; @@ -18,7 +18,7 @@ export interface HapiPluginOptions { graphqlOptions: GraphQLOptions | HapiOptionsFunction; } -function runHttpQueryWrapper(options: GraphQLOptions | HapiOptionsFunction, request: Request, reply: IReply): Promise { +function runHttpQueryWrapper(options: GraphQLOptions | HapiOptionsFunction, request: Request, reply: ReplyNoContinue): Promise { return runHttpQuery([request], { method: request.method.toUpperCase(), options: options,