Initial commit
This commit is contained in:
14
spec/types/supertest/index.d.ts
vendored
Normal file
14
spec/types/supertest/index.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { IUser } from '@src/models/user.model';
|
||||
import 'supertest';
|
||||
|
||||
|
||||
declare module 'supertest' {
|
||||
|
||||
export interface Response {
|
||||
headers: Record<string, string[]>;
|
||||
body: {
|
||||
error: string;
|
||||
users: IUser[];
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user