diff --git a/socket.io/socket.io-tests.ts b/socket.io/socket.io-tests.ts index 93899d0d91..0f3b26963e 100644 --- a/socket.io/socket.io-tests.ts +++ b/socket.io/socket.io-tests.ts @@ -1,4 +1,4 @@ -/// +/// import socketIO = require('socket.io'); diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index 045e0007a9..696bd4d9bc 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -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; } /**