DEV Community

Discussion on: Why You Should Use Typescript Over Javascript?

Collapse
 
shreyanshsheth profile image
Shreyansh sheth

Yes, JSDoc is also a nice alternative if you don't want to use typescript .basically they both achieve the same things differently. ​
And One more compiling step does not affect anything at all because in the end, you are getting what you need.

The main thing is it boils down to personal preference that how you prefer writing your code.