The-TypeScript-Workshop
The TypeScript Workshop is designed for software developers who want to broaden their skill set by learning TypeScript. To get the most out of this book, you should have a basic knowledge of JavaScript or experience of using another similar programming language.
Installation and Setup
VS Code
This book uses VS Code as the IDE to save and run TypeScript and JavaScript files. You can download VS Code from the following website: https://code.visualstudio.com/ download. Scroll to the bottom of the page and click on the download button relevant to your system. Follow the instructions displayed on your screen.
Node.js
You need to install the latest version of Node.js, which includes npm. You can download and install Node.js from https://nodejs.org/en/download/. Click and download the installer relevant to your system.
TypeScript
This book uses TypeScript version 4.1.3. Once you have VS Code and Node.js installed in your system, you can install TypeScript by opening a terminal and running the following command: npm install -g typescript@4.1.3
The preceding command will install version 4.1.3 globally. There are several other libraries and dependencies that you might have to install as part of executing the code given in the exercises and activities in this book. However, instructions for doing so have been provided in the relevant chapter/section.