1// Follow the below steps and you good to go easily
2
3// create a new folder and open a terminal on that folder and type below commands
4 npm init-y
5
6 yarn add -D @types/node typescript ts-node
7
8 npx tsconfig.json
9
10// open package.json and add in scripts
11 "start": "ts-node src/index.ts",
12
13// create new folder src/index.ts ..... open - index.ts
14 console.log("Hello TypeScript");
15
16//// And type below cmd for start....
17 yarn start
18
19//// DONE!!!!!!!
20