mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-24 13:00:46 +08:00
add socket.io 1.2.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import io = require('socket.io');
|
||||
import io = require('socket.io-0.9');
|
||||
|
||||
var socketManager = io.listen(80);
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user