For more details about using transpilers in WebStorm, see the section Using File Watchers.
To run a file with injected TypeScript from WebStorm
No run configuration is required for launching applications with injected TypeScript from WebStorm.
- 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:
- Choose on the main menu or press Alt+F2. Then select the desired browser from the pop-up menu.
- Hover your mouse pointer over the code to show the browser icons bar: Click the icon that indicates the desired browser.