Added missing length field

This commit is contained in:
Sascha Englert
2018-08-17 12:49:21 +02:00
parent 9555e31a1c
commit 794a2adf7d
+3 -2
View File
@@ -700,7 +700,8 @@ declare namespace SocketIO {
* The interface describing a room
*/
interface Room {
sockets: {[id: string]: boolean }
sockets: {[id: string]: boolean };
length: number;
}
/**
@@ -709,7 +710,7 @@ declare namespace SocketIO {
*/
interface Rooms {
[room: string]: Room
[room: string]: Room;
}
/**