Class constructor SubClass cannot be invoked without ‘new’
I’m currently upgrading all my dependencies and I’m facing an issue that seems to be related to @nestjs/swagger and typescript changes related to useDefineForClassFields
on newer es targets.