tsc -- outFile comman.js file1.ts file2.ts file3.ts
.ts
” file and output into a single “comman.js
” file.tsc --outFile file1.ts file2.ts file3.ts
file2.ts
and file3.ts
will be compiled and the output will be placed in file1.ts
. So now your file1.ts
contains JavaScript code.