Skip to content

Commit 60c757f

Browse files
committedSep 18, 2024··
fix(sio-client): accept string | undefined as init argument (bis)
Following: socketio/socket.io-client@5a3eafe Related: #4873
1 parent 04c8dd9 commit 60c757f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/socket.io-client/lib/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const cache: Record<string, Manager> = {};
2424
*/
2525
function lookup(opts?: Partial<ManagerOptions & SocketOptions>): Socket;
2626
function lookup(
27-
uri: string,
27+
uri?: string,
2828
opts?: Partial<ManagerOptions & SocketOptions>,
2929
): Socket;
3030
function lookup(

0 commit comments

Comments
 (0)
Please sign in to comment.