From cac8ed01e6b1d83cb2d303227fed4d31763eb441 Mon Sep 17 00:00:00 2001 From: Justin Simms Date: Fri, 9 Feb 2018 17:51:52 -0600 Subject: [PATCH] Fix for the plugin array type. --- types/hapi/definitions/server/server-register.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/types/hapi/definitions/server/server-register.d.ts b/types/hapi/definitions/server/server-register.d.ts index 7e7680edfb..313a3c164e 100644 --- a/types/hapi/definitions/server/server-register.d.ts +++ b/types/hapi/definitions/server/server-register.d.ts @@ -51,7 +51,7 @@ export interface ServerRegisterPluginObject extends ServerRegisterOptions { options?: T; } -export interface ServerRegisterPluginObjectArray extends Array | undefined> { +export interface ServerRegisterPluginObjectArray extends Array | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | ServerRegisterPluginObject | undefined> { 0: ServerRegisterPluginObject; 1?: ServerRegisterPluginObject; 2?: ServerRegisterPluginObject; @@ -60,6 +60,3 @@ export interface ServerRegisterPluginObjectArray extends Ar 5?: ServerRegisterPluginObject; 6?: ServerRegisterPluginObject; } - - -