DEV Community

Discussion on: Why TypeScript is the better JavaScript

Collapse
 
akpi816218 profile image
akpi816218

I'd say you can also use JSDoc... But it really comes down to the level of type safety you want. Since I prefer complete integration, I tend to prefer TypeScript. But TypeScript can be difficult at times, forcing you to write your own typings. If you're willing to do that, I believe TypeScript is a good path.