mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #1881 from ufon/master
socket.io: added handshake; supertest: override set method.
This commit is contained in:
Vendored
+1
@@ -20,6 +20,7 @@ declare module "socket.io" {
|
||||
log: any;
|
||||
volatile: any;
|
||||
broadcast: any;
|
||||
handshake: any;
|
||||
in(room: string): Socket;
|
||||
to(room: string): Socket;
|
||||
join(name: string, fn: Function): Socket;
|
||||
|
||||
Vendored
+5
@@ -19,6 +19,11 @@ declare module "supertest" {
|
||||
expect(body: Object, callback?: (err: Error, res: superagent.Response) => void): Test;
|
||||
expect(field: string, val: string, callback?: (err: Error, res: superagent.Response) => void): Test;
|
||||
expect(field: string, val: RegExp, callback?: (err: Error, res: superagent.Response) => void): Test;
|
||||
set(field: string, val: string): Test;
|
||||
set(field: Object): Test;
|
||||
query(val: Object): Test;
|
||||
send(data: string): Test;
|
||||
send(data: Object): Test;
|
||||
}
|
||||
|
||||
interface SuperTest {
|
||||
|
||||
Reference in New Issue
Block a user