changed close parameter as optional.

This commit is contained in:
pyoungon
2015-12-28 13:59:47 +09:00
parent a3ff0859bf
commit 0f6f5f6b69
+1 -1
View File
@@ -647,7 +647,7 @@ declare module SocketIO {
* @param close If true, also closes the underlying connection
* @return This Socket
*/
disconnect( close: boolean ): Socket;
disconnect( close?: boolean ): Socket;
/**
* Adds a listener for a particular event. Calling multiple times will add