this is the basis of typescript needed to know must a step by step chapter vice codes from josh goldberg book Typescript. just comment out the code and try it , practice accordingly
-> PREREQUISITE node js installed visual studio code (IDE)
Setting up Typscript Enviroment:
npm i -g typescript
check typescript : tsc -v (cmd check if typescript is installed ?) ,
install packages for a project to run ts : npx tsc –init ,
to compile ts file : tsc first.ts (run on cmd) ,
then run js compiler : node first.js
//Still have a problem contact leave a on my whatsapp 03172101966