Performance: TypeScript-first philosophy
MEDIUM IMPACT
This affects the development speed and runtime type safety, indirectly influencing bundle size and error detection before runtime.
import { ApiProperty } from '@nestjs/swagger'; class User { @ApiProperty() id: number; @ApiProperty() name: string; @ApiProperty() email: string; }
class User { id: any; name: any; email: any; } // No TypeScript types or decorators used
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| No TypeScript types | N/A | N/A | N/A | [!] OK but risky |
| TypeScript-first with decorators | N/A | N/A | N/A | [OK] Good for development |