Notes that I have taken while completing this course - https://www.udemy.com/course/typescript-full-stack-programming/
-
With typescript Globally install typescript:
npm install -g typescript
Then to compile we can use:tsc Project.ts
Then to execute code we can use:node Project.js
-
With ts-node Globally install ts-node:
npm i -g ts-node
Then to run we can use:ts-node Project.ts