From f62f180edafdd56d8a8a277e092bc66df0c5f07f Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Mon, 9 Nov 2020 09:58:14 +0200 Subject: [PATCH] fix: export ServerOptions and Namespace types (#3684) @types/socket.io used to export these. --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index c74d065f59..069d5e2cbb 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -712,4 +712,4 @@ emitterMethods.forEach(function(fn) { module.exports = (srv?, opts?) => new Server(srv, opts); module.exports.Server = Server; -export { Socket }; // for "connect" event typing +export { Socket, ServerOptions, Namespace };