DEV Community

Discussion on: TypeScript is a waste of time. Change my mind.

Collapse
 
johhansantana profile image
Johhan Santana

I’ve used typescript for a while now and I think it’s best used for open source libraries. For internal or personal projects I think it’s fine using JSdoc for documenting your variables and functions, in fact, most IDEs will give you hints when you use the JSdoc syntax.

Other things that I’ve encountered using typescript is sometimes you may have to do some workaround to get something to work when if you would’ve used plain JavaScript it would’ve been much easier.

For now I think JSdoc is enough.