DEV Community

codebond
codebond

Posted on

Can someone explain TypeScript to me like I'm 5 years old?







How will you explain? But should be unique.

Top comments (2)

Collapse
 
atila profile image
Atila Fassina

To 5yo:

TypeScript tells JavaScript what it should take in order to get it needs.

  • To sleep well, you need to eat your dinner so you’re not hungry during the night
  • To get a Sum of two parameters, both of them need to be of type number

😉

I also have a recent post on how to get started easily:

And a playlist on youtube with Simplified TypeScript byte-sized tuts

🔥Suggestions for the next videos?

Collapse
 
codebondco profile image
codebond