@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:
Zbyszek Wieczorek
2017-10-09 16:31:08 -07:00
committed by Wesley Wigham
parent c939211aa6
commit af382ee072
+6 -1
View File
@@ -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 {