WebStorm 10.0.0 Help

Testing DartTranspiling TypeScript to JavaScript

TypeScript Support

WebStorm supports developing and running TypeScript source code. WebStorm recognizes *.ts files, and allows you to edit them providing full range of coding assistance without any additional steps from your side. TypeScript files are marked with the typeScript.png icon.

To run, debug, and test your code you will need it translated into JavaScript which requires a transpiler

In this section:

Preparing for TypeScript development

  1. Make sure the JavaScript Support and Node.js plugins are enabled. The plugins are bundled with WebStorm and activated by default. If the plugins are not activated, enable them on the Plugins page of the Settings dialog box as described in Enabling and Disabling Plugins.
  2. Download and install the Node.js framework.
  3. Configure the Node.js interpreter in WebStorm:
    1. Choose File | Settings and in the Settings dialog box that opens, click Node.js and NPM under Languages&Frameworks.
    2. On the Node.js page that opens, specify the location of the desired Node.js interpreter.

Coding assistance

TypeScript support includes:

See Also

Last modified: 25 July 2015