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; } - - -