mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Added the "id" parameter to the client Socket object
This commit is contained in:
6
socket.io-client/socket.io-client.d.ts
vendored
6
socket.io-client/socket.io-client.d.ts
vendored
@@ -177,6 +177,12 @@ declare module SocketIOClient {
|
||||
*/
|
||||
nsp: string;
|
||||
|
||||
/**
|
||||
* The ID of the socket; matches the server ID and is set when we're connected, and cleared
|
||||
* when we're disconnected
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* Are we currently connected?
|
||||
* @default false
|
||||
|
||||
Reference in New Issue
Block a user