From af382ee0725d94dfca241cce0ab97957f06d962b Mon Sep 17 00:00:00 2001 From: Zbyszek Wieczorek Date: Tue, 10 Oct 2017 01:31:08 +0200 Subject: [PATCH] @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 = {}; --- types/socket.io-client/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/socket.io-client/index.d.ts b/types/socket.io-client/index.d.ts index 2f1cc22efd..f4f14c41c6 100644 --- a/types/socket.io-client/index.d.ts +++ b/types/socket.io-client/index.d.ts @@ -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 , Damian Connolly , Florent Poujol // 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 {