Basic types

Learn the basics of TypeScript and how to define simple types

An Intro To TypeScript #

Now that you have a clear idea of what JavaScript looks like in 2019, I think it’s time to introduce you TypeScript.

Albeit not necessary as a skill for a JavaScript developer, I believe it to be extremely useful, especially when working in team on bigger projects.

As you already know, JavaScript is not a strongly typed language meaning that you don’t have to define the type of your variables upon declaration.

This means that they can be more flexible and accept different values. At the same time it can make the code more confusing and prone to having bugs.

Look at this example:

Get hands-on with 1400+ tech skills courses.