We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5245060 commit 453f530Copy full SHA for 453f530
1 file changed
src/client/transport/socketio.ts
@@ -24,9 +24,13 @@ import type {
24
ChatMessage,
25
} from '../../types';
26
27
+type SocketOpts = Partial<
28
+ ioNamespace.SocketOptions & ioNamespace.ManagerOptions
29
+>;
30
+
31
interface SocketIOOpts {
32
server?: string;
- socketOpts?: ioNamespace.SocketOptions;
33
+ socketOpts?: SocketOpts;
34
}
35
36
type SocketIOTransportOpts = TransportOpts &
@@ -42,7 +46,7 @@ type SocketIOTransportOpts = TransportOpts &
42
46
export class SocketIOTransport extends Transport {
43
47
server: string;
44
48
socket: ioNamespace.Socket;
45
- socketOpts: ioNamespace.SocketOptions;
49
+ socketOpts: SocketOpts;
50
51
/**
52
* Creates a new Multiplayer instance.
0 commit comments