Can anyone tell me about typescript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me about typescript

26th Aug 2022, 6:52 PM
JAY BAGDE
2 Answers
+ 2
Why not visit the typescript website for info? https://www.typescriptlang.org/
26th Aug 2022, 7:28 PM
Chris Coder
Chris Coder - avatar
+ 1
Mirielle I would not dismiss anything as a waste of time. 🤔 Learning is always worth the time. Typescript was developed to address the problem of incompatible types. It might not be a problem for small programs, but type checking while you are writing your code is a great benefit worth the cost of a slightly more verbose code. In an ide with proper Typescript support, having those squiggly red lines underneath problematic parts of your code is like having another pair of eyes watching out for you. And Typescript supports features Javascript does not. But you have to compile to Javascript, so that's a downside. So my advice would be to learn Javascript first. Then Typescript to level-up your game. https://www.typescriptlang.org/why-create-typescript
27th Aug 2022, 8:14 AM
Bob_Li
Bob_Li - avatar