Setting Up TypeScript

Get familiar with the tools and setup required to work with TypeScript.

This chapter assumes some basic knowledge of TypeScript and JavaScript from its learners. By that, we mean that we will not be explaining concepts like functions and variables. However, the tidbits in this chapter might be useful for those who have less day-to-day experience with the language. The chapter can be skipped or skimmed by more experienced programmers.

Requirements

If you want to reproduce the examples provided in this course locally, you should have node and npm installed on your computer. It should be noted that npm is included with node, so you just have to install node. You can check whether both are available by opening a terminal window and typing node -v and npm -v. If installed, you should get back a version, e.g., v14.18.3. Go ahead and try out these commands in the terminal window provided below.

Get hands-on with 1200+ tech skills courses.