mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
@types/socket.io-client -Add missing "managers" property to SocketIOClientStatic (#20192)
* add managers property to SocketIOClientStatic
which is exposed in lib/index.js
/**
* Managers cache.
*/
var cache = exports.managers = {};
* add managers property to SocketIOClientStatic
which is exposed in lib/index.js
/**
* Managers cache.
*/
var cache = exports.managers = {};
This commit is contained in:
parent
c939211aa6
commit
af382ee072
7
types/socket.io-client/index.d.ts
vendored
7
types/socket.io-client/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for socket.io-client 1.4.4
|
||||
// Type definitions for socket.io-client 1.4.5
|
||||
// Project: http://socket.io/
|
||||
// Definitions by: PROGRE <https://github.com/progre>, Damian Connolly <https://github.com/divillysausages>, Florent Poujol <https://github.com/florentpoujol>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@ -58,6 +58,11 @@ interface SocketIOClientStatic {
|
||||
* Manager constructor - exposed for the standalone build
|
||||
*/
|
||||
Manager: SocketIOClient.ManagerStatic;
|
||||
|
||||
/**
|
||||
* Managers cache
|
||||
*/
|
||||
managers: { [key: string]: SocketIOClient.Manager }
|
||||
}
|
||||
|
||||
declare namespace SocketIOClient {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user