mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix String to string
This commit is contained in:
Vendored
+2
-2
@@ -33,7 +33,7 @@ declare module SocketIO {
|
||||
listen(port: number, opts: any): Server;
|
||||
bind(srv: any): Server;
|
||||
onconnection(socket: any): Server;
|
||||
of(nsp: String): Namespace;
|
||||
of(nsp: string): Namespace;
|
||||
emit(name: string, ...args: any[]): Socket;
|
||||
use(fn: Function): Namespace;
|
||||
|
||||
@@ -43,7 +43,7 @@ declare module SocketIO {
|
||||
}
|
||||
|
||||
interface Namespace extends NodeJS.EventEmitter {
|
||||
name: String;
|
||||
name: string;
|
||||
connected: { [id: number]: Socket };
|
||||
use(fn: Function): Namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user