February 2019
Beginner
694 pages
18h 4m
English
The simplest and leanest TypeScript development environment consists of a simple text editor, and a Node-based TypeScript compiler. Head over to the Node website (https://nodejs.org/) and follow the instructions to install Node on your operating system of choice.
Once Node is installed, TypeScript can be installed by simply typing the following:
npm install -g typescript
This command invokes the Node Package Manager (npm) to install TypeScript as a global module (the -g option), which will make it available no matter what directory we are currently in. Once TypeScript has been installed, we can display the current version of the compiler by typing the following:
tsc -v
At the time of writing, the TypeScript compiler ...
Read now
Unlock full access