diff --git a/supertest/supertest.d.ts b/supertest/supertest.d.ts index 8a2069d33..d13f7d595 100644 --- a/supertest/supertest.d.ts +++ b/supertest/supertest.d.ts @@ -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 {