TypeScript
for macOS
Ctrl+Alt+S
Node interpreter
In this field, specify the Node.js interpreter to use. This can be a local Node.js interpreter or a Node.js on Windows Subsystem for Linux.
TypeScript
From this drop-down list, choose the version of the TypeScript to use (PhpStorm displays the currently chosen version).
By default, the
typescript
package from the project'snode_modules
folder is used.Bundled: choose this option to use the
typescript
package that comes bundled with PhpStorm without attempting to find another one.Select: choose this option to use a custom
typescript
package instead of the one bundled with PhpStorm. Choose the path to the relevant package in the dialog that opens.
TypeScript Language Service
Select this checkbox to get native support from the TypeScript Language Service according to the up-to-date specifications. As a result:
Syntax and error highlighting is based on the annotations from the TypeScript Language Service.
Completion lists contain both suggestions from the TypeScript Language Service and suggestions calculated by PhpStorm.
TypeScript code is compiled into JavaScript.
Item | Description |
---|---|
Also for projects without tsconfig.json | When this checkbox is selected, the TypeScript Language Service also processes projects that do not contain a |
Angular Language Service | PhpStorm integrates with the Angular language service developed by the Angular team to improve code analysis and completion for Angular-TypeScript projects. Note that the Angular language service works only with the projects that use Angular 2.3.1 or higher and TypeScript version compatible with it. The Angular language service is installed by default in all Angular projects that are generated using Angular CLI, see Creating a new Angular application. The Angular language service is activated by default so PhpStorm starts it automatically together with the TypeScript service and shows all the errors and warnings in your TypeScript and HTML files both in the editor and in the TypeScript Tool Window. |
Recompile on changes |
|
Compile scope | From this drop-down list, choose the scope in which the compiler will work when you click Compile and choose Compile All in the TypeScript Tool Window. The available options are:
VCS Scopes: these scopes are only available if your project is under version control.
|
Options | In this field, specify the command line options to be passed to the TypeScript Language Service when the |