title: Response.cookie is not defined
body: <p>I'm quite new in <a href="https://nestjs.com/" rel="nofollow noreferrer">NestJS</a> and I'm using it to handle a rest API server. I'm trying to send some HTTP-only cookie in the response and I'm following the <a href="https://docs.nestjs.com/techniques/cookies#use-with-express-default" rel="nofollow noreferrer">official documentation</a> and it suggests to use the <code>cookie</code> method in the <code>Response</code> object but it looks like that method is not defined. This is my code:</p>
  <pre class="lang-js prettyprint-override"><code>@Get('login')
  verifyLoginEmailCode(
    @Headers() { email, password }: LoginInputDto,
    @Res({ passthrough: true }) res: Response,
  ) {
    // as per official documentation res.cookie should be a function but it's not defined
    console.log(Object.keys(res)); // in the keys &quot;cookie&quot; is missing
  
    return this.authAdminService.login(email, password);
  }
  </code></pre>
  <p>Is there any mistake?</p>