From 75563a29af093de3eda71c5a6b14a4eba0c3dbe0 Mon Sep 17 00:00:00 2001 From: Lukas Olson Date: Mon, 16 Sep 2013 15:10:41 -0600 Subject: [PATCH] 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) --- socket.io/socket.io.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index 0908bc6ca..896643e4a 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -15,6 +15,7 @@ declare module "socket.io" { } interface Socket { + id: string; json:any; log: any; volatile: any;