Running TypeScript
This feature is supported in the Professional edition only.
On this page:
Introduction
TypeScript code is not processed by browsers that work with JavaScript code. Therefore to be executed, TypeScript code has to be translated into JavaScript. This operation is referred to as compilation and the tools that perform it are called compilers.
Running a file with injected TypeScript from PyCharm
Note that no run configuration is required for launching applications with injected TypeScript from PyCharm.
- Compile the TypeScript code into Javascript.
- In the editor, open the HTML file with the TypeScript reference. This HTML file does not necessarily have to be the one that implements the starting page of the application.
- Do one of the following:
See Also
Reference:
Last modified: 26 July 2017