mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-13 22:40:50 +08:00
Merge pull request #1052 from lukasolson/patch-1
Add id to Socket interface
This commit is contained in:
1
socket.io/socket.io.d.ts
vendored
1
socket.io/socket.io.d.ts
vendored
@@ -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