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 typescriptThen to compile we can use:tsc Project.tsThen to execute code we can use:node Project.js -
With ts-node Globally install ts-node:
npm i -g ts-nodeThen to run we can use:ts-node Project.ts