Skip to content

Commit

Permalink
fix: export ServerOptions and Namespace types (socketio#3684)
Browse files Browse the repository at this point in the history
@types/socket.io used to export these.
  • Loading branch information
AviVahl authored Nov 9, 2020
1 parent 6829218 commit e735e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit e735e01

Please sign in to comment.