Fixed problem with broadcast declaration and added right reference path to the tests file

This commit is contained in:
Damian Connolly 2015-07-17 21:59:37 +02:00
parent 71876c371c
commit dd0d09a18b
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/// <reference path="socket.io-1.2.0.d.ts"/>
/// <reference path="socket.io.d.ts"/>
import socketIO = require('socket.io');

View File

@ -759,7 +759,7 @@ declare module SocketIO {
* - except: A list of Socket IDs to exclude
* - flags: Any flags that we want to send along ('json', 'volatile', 'broadcast')
*/
broadcast( packet: any, opts: { rooms?: string[], except?: string[], flags?: {[flag: string]: boolean} } ):void;
broadcast( packet: any, opts: { rooms?: string[]; except?: string[]; flags?: {[flag: string]: boolean} } ):void;
}
/**