Get Started With TypeScript — Part 1

An easy introduction and tutorial on using TypeScript

Photo by Alex Knight on Unsplash

This is the first part of a series of articles I’ll be posting on the fundamentals of TypeScript. If you’re new to TypeScript and you’re not sure where to get started, then you’ve landed on the right page.

Bring your JavaScript knowledge and prepare to be enlightened and well-equipped to learn more on your own.

We’re going to take it slow and start off by discussing the very basics of TypeScript. In Part Two of this series, we’ll set up VS Code and our coding environment to work with TypeScript and apply some of the knowledge in this article. We’ll also discuss some additional basic types.

We’re not really going to be writing any code in this article outside of some examples, but we will cover the basic types and prepare you for the next lesson where we will write some code.

When we discuss what TypeScript is and how it works, I will approach this from a beginner’s perspective on a need-to-know basis. In other words, I’m not going to overload you with information.

One of the most difficult things about learning a new language is understanding what’s relevant and how to apply it in a useful manner. Because of this, we’ll only cover introductory concepts to get you started on your TypeScript journey. I’ll cover more advanced topics in Parts Three and Four.

Let’s get started.