From ec7779fb1a9e1ec05050319ed3a034ce1d98d781 Mon Sep 17 00:00:00 2001 From: Melvin Groenhoff Date: Wed, 2 Nov 2016 14:46:47 +0100 Subject: [PATCH] Change milliseconds argument type from boolean to number. (#12409) --- socket.io-client/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.io-client/index.d.ts b/socket.io-client/index.d.ts index 9bc6e1185c..f4aef879a8 100644 --- a/socket.io-client/index.d.ts +++ b/socket.io-client/index.d.ts @@ -410,7 +410,7 @@ declare namespace SocketIOClient { * @param The connection timeout milliseconds * @return This Manager */ - timeout(v: boolean): Manager; + timeout(v: number): Manager; /** * Sets the current transport socket and opens our connection