Is typescript useful? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is typescript useful?

Do you use it in your apps? What if your app is pure JS?

29th Oct 2019, 6:40 AM
Petar Zarkov
Petar Zarkov - avatar
2 Answers
+ 2
typescript is generally only used in large scale projects. It's heavily used if you're working with the angular web framework but otherwise you probably wont need it. It compiles into pure javascript so you can accomplish things without it but check it out and see if any of the features are necessary for what you need
29th Oct 2019, 7:43 AM
JME
+ 2
You should write typescript whenever you can, it makes javascript more bug free, and easier to form documentation without tool like jsdoc.
14th Dec 2019, 2:43 AM
Calviղ
Calviղ - avatar