Do you know what Typescript is? If you don't know, lets learn how to use it!
Typescript is a superset of Javascript, but what does is mean? It's basically our beloved Javascript + someone functions!
The most importante function we have is to include typing in Javascript.
But why?
When you declare an object, a variable a function whatever, you say what king of value is will receive!
This helps to avoid assign wrong values to variables, and thanks this our dear text editors end up getting much better, because they can warn if we doing something wrong before we even execute the code!
In my opinion, if you don't use Typescript, start as soon as possible!
But when and which project to use?
In all possible, from basic to advanced, there is no reason not to use Typescript 🚀
.
.
.
.
.
From post in PT-BR
Instagram: @imatheus.max
Post: https://www.instagram.com/p/CdivOVjOon-/
Top comments (0)