title: Typescript Parsing error: Expression expected
body: <p>Please check out this code</p>
  <pre><code>class A&lt;T = any&gt; {
    @ApiProperty({ example: 'Success' })
    message: string;
    @ApiProperty({})
    data: T;
  }
  
  export const SwaggerEssentials = &lt;T&gt;(okRes?: apiOkResponse) =&gt; {
    return applyDecorators(
      ApiResponse({ type: A&lt;T&gt;, status: 200 }), // The error is popping up here
    );
  };
  </code></pre>
  <p>The error is popping up when I try to use <code>T</code> with <code>A</code> generic value.</p>