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:
Damien Arrachequesne
2024-09-18 08:07:56 +02:00
parent 04c8dd979c
commit 60c757f718

View File

@@ -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(