- Enter command "tsc –init" and hit enter.
- Before that we need to compile ts file with command "tsc app.ts" now it is all defined in below config file automatically.
- Now, You can compile all typescripts by command "tsc". it will automatically create ".js" file of your typescript file.
if you want to reproduce, please indicate the source:
Configure typescript project to compile all files in typescript. – Typescript Configuration file setup - CodeDay