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)

Neon image

Next.js applications: Set up a Neon project in seconds

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Get started →

đź‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay