diff --git a/types/ws/ws-tests.ts b/types/ws/ws-tests.ts index 8b2ef3a968..a015f4c387 100644 --- a/types/ws/ws-tests.ts +++ b/types/ws/ws-tests.ts @@ -71,11 +71,11 @@ var WebSocketServer = WebSocket.Server; ): void { callback(true) } - + var wsv = new WebSocketServer({ verifyClient }) - + wsv.on('connection', function connection(ws) { console.log(ws.protocol) })