Setting Up TypeScript
Explore how to set up a TypeScript project for functional programming by installing Node.js and npm, initializing your project, adding TypeScript dependencies, and compiling code. Understand the basics of configuring and running TypeScript files to prepare for functional coding challenges.
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 ...