mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
SocketIOClient.Socket was missing connected property
This commit is contained in:
1
socket.io-client/socket.io-client.d.ts
vendored
1
socket.io-client/socket.io-client.d.ts
vendored
@@ -27,6 +27,7 @@ declare module SocketIOClient {
|
||||
emit(event: string, ...args: any[]): Socket;
|
||||
listeners(event: string): Function[];
|
||||
hasListeners(event: string): boolean;
|
||||
connected: boolean;
|
||||
}
|
||||
|
||||
interface ManagerStatic {
|
||||
|
||||
Reference in New Issue
Block a user