From 8f455d7c998e1f653aed2a670eca441bcbbc18ce Mon Sep 17 00:00:00 2001 From: Hongbo Miao Date: Wed, 7 Sep 2016 03:23:27 -0400 Subject: [PATCH] add engine.ws to Server --- socket.io/socket.io.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index ad95f39ef3..abc554c065 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -47,7 +47,8 @@ interface SocketIOStatic { declare namespace SocketIO { interface Server { - + engine: { ws: WebSocketServer }; + /** * A dictionary of all the namespaces currently on this Server */