Prev Next

Web / Typescript interview questions

How do I compile typescript files?

Typescript files has the extension .ts. Use tsc <TypeScript File Name> command to compile a typescript file via command line.

To compile multiple typescript files into a single JS file use the below command.

tsc --out some_JS_file.js ts_file1.ts ts_file2.ts ts_file3.ts

More Related questions...

Show more question and Answers...


Comments & Discussions