mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 01:45:49 +08:00
Override set method for supertest Request
This commit is contained in:
2
supertest/supertest.d.ts
vendored
2
supertest/supertest.d.ts
vendored
@@ -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