mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-21 11:51:47 +08:00
changed close parameter as optional.
This commit is contained in:
1 parent
a3ff0859bf
commit
0f6f5f6b69
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user