mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +08:00
Added the "id" parameter to the client Socket object
This commit is contained in:
+6
@@ -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