DEV Community

Discussion on: In defense of TypeScript

Collapse
 
stojakovic99 profile image
Nikola Stojaković

Regarding type validation, I often use class-validator.

Sure, if you're working on something small TypeScript may be like pulling Howitzer from the garage to go to the grocery store.

Collapse
 
vinceramces profile image
Vince Ramces Oliveros

Perhaps you could discuss this with FP Peeps 🤷🏻‍♂️ for the class-validator. They don't use classes but use Interface(abstract class).