mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
changed close parameter as optional.
This commit is contained in:
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