How To Install Typescript
Once you have Node.js installed, we should now have a command-line tool known as npm(node package manager). We can install Typescript simply by typing in
npm install -g typescript and you’re done!
Understanding The Compiler
The compiler has different settings that can be invoked with a config file. The config file allows you to invoke certain compiler settings for your needs. Those needs, bring me to project setup.
Setting Up Your Project
Setting up a Typescript project all depends on your personal needs. However, I will give you my personal setup for most projects and a sample repository to look through to understand the flow.
Here’s the example project directory: https://github.com/KinoAR/typescript-base