...

/

Compiling TypeScript to JavaScript

Compiling TypeScript to JavaScript

Learn how to install TypeScript to our local machine and compile it to JavaScript.

Overview

Compiling TypeScript is very straightforward. First, make sure Node is installed on the local machine. We can verify by quickly checking the version of Node we have installed on our system with the command below:

node -v

Note: We can download Node.js from its official ...