The TypeScript Compiler (also known as “tsc”) is the backbone of many bundlers, plugins, and tools that work with TypeScript. While we don’t often invoke tsc directly, we do configure how tsc behaves inside of the bundlers that we use.
What does TSC command do?
The tsc command envokes the TypeScript compiler. When no command-line options are present, this command looks for the tsconfig. … The minimal thing needed by the tsc command is the location of input source files to compile. We can provide these using files or include options of the tsconfig.
What is TSC in angular?
tsc is a TypeScript compiler, and you need it to generate JavaScript if your app is written in TypeScript. ngc is an Angular-specific compiler. It doesn’t turn the TypeScript code into JavaScript. It does a “finishing touch” to make your app bundles ready for rendering by the browser.