mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Fixed problem with broadcast declaration and added right reference path to the tests file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// <reference path="socket.io-1.2.0.d.ts"/>
|
||||
/// <reference path="socket.io.d.ts"/>
|
||||
|
||||
import socketIO = require('socket.io');
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user