TypeScript?


Recommended Posts

I am not the most experienced user, so I would like to know your opinion. And if I write in the wrong topic, I also apologize.
Does a JavaScript developer need to learn TypeScript? And why do you use TypeScript?

I tried to use it a little, and here are the advantages I highlighted for myself:
- Because it looks cleaner than jsdoc type annotations.
- Because it can give better autocomplete in your editor of choice than javascript.
- Because I've found bugs caused by typos in npm packages that could easily have been avoided if they used TS.
- Because the "private" keyword looks better than js' new "#" private variable-name prepend.

I heard a lot of positive reviews about TypeScript and at the same time negative reviews, so I would like to discuss this topic.

Edited by Myral
Link to post
Share on other sites
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...