Skip to content

Commit f62f180

Browse files
authored
fix: export ServerOptions and Namespace types (#3684)
@types/socket.io used to export these.
1 parent 50671d9 commit f62f180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,4 +712,4 @@ emitterMethods.forEach(function(fn) {
712712
module.exports = (srv?, opts?) => new Server(srv, opts);
713713
module.exports.Server = Server;
714714

715-
export { Socket }; // for "connect" event typing
715+
export { Socket, ServerOptions, Namespace };

0 commit comments

Comments
 (0)