Skip to content

Commit

Permalink
fix(sio-client): accept string | undefined as init argument (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Sep 18, 2024
1 parent 04c8dd9 commit 60c757f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/socket.io-client/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 60c757f

Please sign in to comment.