I have this response type
export interface IResponse {
status: boolean;
message: string;
}
Then I would like to pass a custom interface to this type.
const res: IResponse<{count: number}> = await ...
How to modify my type so that res.count is recognized?