mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Make 'opts' to optional parameter
This commit is contained in:
1 parent
3bdf7dd603
commit
417aa79b1a
1 file changed
+4
-4
Vendored
+4
-4
@@ -27,10 +27,10 @@ declare module SocketIO {
|
||||
adapter(v: any): Server;
|
||||
origins(v: string): Server;
|
||||
sockets: Namespace;
|
||||
attach(srv: any, opts: any): Server;
|
||||
attach(port: number, opts: any): Server;
|
||||
listen(srv: any, opts: any): Server;
|
||||
listen(port: number, opts: any): Server;
|
||||
attach(srv: any, opts?: any): Server;
|
||||
attach(port: number, opts?: any): Server;
|
||||
listen(srv: any, opts?: any): Server;
|
||||
listen(port: number, opts?: any): Server;
|
||||
bind(srv: any): Server;
|
||||
onconnection(socket: any): Server;
|
||||
of(nsp: string): Namespace;
|
||||
|
||||
Reference in new issue
Block a user