Here's is a Documentation of my TypeScript Learning..
tsc, the TypeScript compiler
npm install -g typescript
this command will detact the every changes in ts file and compile ts code to js
tsc main.ts -w
tsc --init
npm create vite@latest
then type a Project name and select Framework