mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add id to Socket interface
Although not clearly documented, the Socket object has a string 'id' attribute (see https://github.com/LearnBoost/socket.io/blob/master/lib/socket.js)
This commit is contained in:
1 parent
1ee70efa3a
commit
75563a29af
1 file changed
+1
Vendored
+1
@@ -15,6 +15,7 @@ declare module "socket.io" {
|
||||
}
|
||||
|
||||
interface Socket {
|
||||
id: string;
|
||||
json:any;
|
||||
log: any;
|
||||
volatile: any;
|
||||
|
||||
Reference in new issue
Block a user