DEV Community

codebond
codebond

Posted on

6 1

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

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

Okay