add socket.io 1.2.0

This commit is contained in:
progre
2014-11-04 00:09:02 +09:00
parent 5eba93f581
commit d68d470bbd
4 changed files with 224 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import io = require('socket.io');
import io = require('socket.io-0.9');
var socketManager = io.listen(80);
+2 -2
View File
@@ -4,9 +4,9 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path='../node/node.d.ts' />
///<reference path='../../node/node.d.ts' />
declare module "socket.io" {
declare module "socket.io-0.9" {
import http = require('http');
export function listen(server: http.Server, options: any, fn: Function): SocketManager;