mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Before this change, `require("socket.io-client").Socket` would return
"undefined".
Note: having access to the Socket class allows users to modify its
prototype.
Related: https://github.com/socketio/socket.io/issues/3726
7 lines
138 B
JavaScript
7 lines
138 B
JavaScript
import io from "./build/index.js";
|
|
|
|
export const Manager = io.Manager;
|
|
export const Socket = io.Socket;
|
|
export { io };
|
|
export default io;
|