mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Override set method for supertest Request
This commit is contained in:
1 parent
efc61c9d55
commit
077b00386c
1 file changed
+2
Vendored
+2
@@ -19,6 +19,8 @@ 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;
|
||||
}
|
||||
|
||||
interface SuperTest {
|
||||
|
||||
Reference in new issue
Block a user