- Install VS Code as a text editor.
- Install node js a requirement for TypeScript Compiler
- Make sure npm(node packet manager) is installed along with node js.
- Install TypeScript compiler using command
sudo npm install -g typescript ts-node
Test if the tyscript and ts-node using below command
sudo tsc --help
tsc for TypeScript compiler
Changes in VS Code for typescript :
- install path – in command palette so that you can use vs code using code . command
- Prettier Extension to be installed and enable format on save in settings
- Format on Save in View -> Setting (search)
- Theme sorlaris light