mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-08 22:48:20 -05:00
fix(sio-client): accept string | undefined as init argument (bis)
Following: 5a3eafed1c
Related: https://github.com/socketio/socket.io/issues/4873
This commit is contained in:
@@ -24,7 +24,7 @@ const cache: Record<string, Manager> = {};
|
||||
*/
|
||||
function lookup(opts?: Partial<ManagerOptions & SocketOptions>): Socket;
|
||||
function lookup(
|
||||
uri: string,
|
||||
uri?: string,
|
||||
opts?: Partial<ManagerOptions & SocketOptions>,
|
||||
): Socket;
|
||||
function lookup(
|
||||
|
||||
Reference in New Issue
Block a user