fix String to string

This commit is contained in:
PROGRE
2014-11-07 07:01:15 +09:00
parent bff52380d6
commit a012987c65
+2 -2
View File
@@ -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