DEV Community

Cover image for When I need use Typescript?
Matheus Maximiliano
Matheus Maximiliano

Posted on

2

When I need use Typescript?

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay