Type Script 2

 Steps to compile and run Typescript


tsc helloworld.ts

tsc command is a typescript compiler 


tsc command outputs helloworld.js


run helloworld.js 

node helloworld.js








Comments

Popular posts from this blog

Experiment 1: Node.js

Experiment 10: ReactJS – Render HTML, JSX, Components – function & Class

Experiment 6: ExpressJS – Routing, HTTP Methods, Middleware