PhpStorm 8.0.2 Web Help

TypeScript Support

PhpStorm supports developing and running TypeScript source code. PhpStorm 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 PhpStorm and activated by default. If not, enable them as described in Enabling and Disabling Plugins.
  2. Download and install the Node.js framework.
  3. Configure the Node.js interpreter in PhpStorm:
    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: 10 December 2014