DEV Community

Discussion on: Why You Should Use Typescript Over Javascript?

 
haaxor1689 profile image
Maroš Beťko

Not even for that. You shouldn't use any at all and use unknown and never instead. I've used any as an example for someone who doesn't really want to use typescript.

Thread Thread
 
shreyanshsheth profile image
Shreyansh sheth

i 100% agree that any is the troublemaker and we should be using never & unknown.