1.

How to compile a Typescript file?

Answer»

For compiling a Typescript FILE, follow these steps carefully:

  • INSTALL the Typescript compiler, tsc.
  • Add a tsconfig.json file
  • Transpile Typescript into Javascript
  • Compile with the --sourcemap or set the sourceMap property in the tsconfig.json file as true for MAP SUPPORT.


Discussion

No Comment Found