Steps to build typescript environment:
- Install node.js
- npm install -g typescript (to install typescript on your machine, to test run: tsc -v)
- tsc someFile.ts (to compile single typescript file)
- tsc --init (to initialize new typescript project)
- set out and root dir in tsconfig.json
- tsc --watch (to run compiler in watch mode - on file save it will recompile your script)
Steps to run this project:
- Install node.js
- npm install -g typescript
- tsc --watch