mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fixed the legacy code declaring under the same name
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user