mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix socket.io.d.ts for wrong type in Namespace.connected
This commit is contained in:
Vendored
+1
-1
@@ -44,7 +44,7 @@ declare module SocketIO {
|
||||
|
||||
interface Namespace extends NodeJS.EventEmitter {
|
||||
name: string;
|
||||
connected: { [id: number]: Socket };
|
||||
connected: { [id: string]: Socket };
|
||||
use(fn: Function): Namespace
|
||||
|
||||
on(event: 'connection', listener: (socket: Socket) => void): any;
|
||||
|
||||
Reference in New Issue
Block a user