It should be firstly verified that the Typescript engine has been enabled or not. In the title bar, click your username and select options.
In the project navigator, select and right-click the TS files that are to be compiled.
Add a <script> reference for the JS file in the HTML code if needed.
To compile a typescript file via command line tsc <TypeScript File Name> command is used.