From 59e1cd247aa0509666f3bbdbff318ca20e27de5f Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Fri, 20 Nov 2015 11:48:28 -0500 Subject: [PATCH] Options could be a string --- hapi/hapi.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi/hapi.d.ts b/hapi/hapi.d.ts index 8fd84de08f..727bada75b 100644 --- a/hapi/hapi.d.ts +++ b/hapi/hapi.d.ts @@ -897,7 +897,7 @@ declare module "hapi" { export interface IServerInject { - (options: { + (options: string | { /** the request HTTP method (e.g. 'POST'). Defaults to 'GET'.*/ method: string; /** the request URL. If the URI includes an authority (e.g. 'example.com:8080'), it is used to automatically set an HTTP 'Host' header, unless one was specified in headers.*/