Fixed the legacy code declaring under the same name

This commit is contained in:
Damian Connolly
2015-07-18 14:15:18 +02:00
parent 1205e0967e
commit 0985544e4f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/// <reference path="socket.io-1.2.0.d.ts"/>
import socketIO = require('socket.io');
import socketIO = require('socket.io-1.2.0');
function testUsingWithNodeHTTPServer() {
var app = require('http').createServer(handler);
+1 -1
View File
@@ -5,7 +5,7 @@
///<reference path='../../node/node.d.ts' />
declare module 'socket.io' {
declare module 'socket.io-1.2.0' {
var server: SocketIOStatic;
export = server;