I am currently working on an automation project using Protractor & TypeScript and I am failry new at both these tools.
I have a 'src'
folder for all my '.ts'
files & 'js-files'
folder for all the typescript compiler generated '.js'
files. So, I am wondering if there is any native command in typescript that cleans/deletes this generated 'js-files'
folder, something like 'mvn clean'
in Maven projects.
Any suggestion/help is apreciated; thank you for your time.
Use --clean
option with build command like tsc --build --clean
--clean
Option delete the outputs of all projects