an0nh4x0r an0nh4x0r - 1 year ago 70
Javascript Question

How to compile TypeScript to JavaScript into a different folder

I have two folders: TypeScript and JavaScript. I need to compile the TypeScript file which are in TypeScript folder to JavaScript files in the JavaScript folder.

Answer Source

--outDir string Redirect output structure to the directory.

tsconfig reference