mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Fixed problem with broadcast declaration and added right reference path to the tests file
This commit is contained in:
parent
71876c371c
commit
dd0d09a18b
@ -1,4 +1,4 @@
|
||||
/// <reference path="socket.io-1.2.0.d.ts"/>
|
||||
/// <reference path="socket.io.d.ts"/>
|
||||
|
||||
import socketIO = require('socket.io');
|
||||
|
||||
|
||||
2
socket.io/socket.io.d.ts
vendored
2
socket.io/socket.io.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user