From 81172581521ab6bf61934224dbe402279554b140 Mon Sep 17 00:00:00 2001 From: William Hayward Date: Fri, 2 Mar 2018 18:25:14 +1000 Subject: [PATCH] +Fixed websocket to allow for https and arrays --- types/websocket/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/websocket/index.d.ts b/types/websocket/index.d.ts index f67a5da142..0087c7a3d1 100644 --- a/types/websocket/index.d.ts +++ b/types/websocket/index.d.ts @@ -62,8 +62,8 @@ export interface IConfig { } export interface IServerConfig extends IConfig { - /** The http server instance to attach to */ - httpServer: http.Server; + /** The http or https server instance(s) to attach to */ + httpServer: http.Server | https.Server | (http.Server | https.Server)[]; /** * The maximum allowed received frame size in bytes.