Skip to content

Commit 54cf26f

Browse files
fix: make socket#nsp public
Related: #16
1 parent 480edc0 commit 54cf26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/socket.io/lib/socket.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export class Socket<
181181
*/
182182
public connected = false;
183183

184-
private readonly nsp: Namespace<
184+
public readonly nsp: Namespace<
185185
ListenEvents,
186186
EmitEvents,
187187
ServerSideEvents,

0 commit comments

Comments
 (0)