Starting from ReSharper 2022.2, active development of productivity features for JavaScript, TypeScript, JSON, CSS, and Protobuf is suspended, and these features are disabled by default. To enable them, select the corresponding checkboxes on the Environment | Products & Features page of ReSharper options Alt+R, O: JavaScript and TypeScript, CSS Language, and Protobuf.
When TypeScript support is explicitly enabled on the Environment | Products & Features page of ReSharper options , ReSharper supports TypeScript language features from v. 1.4 to v. 3.0. ReSharper automatically detects TypeScript version by the <TypeScriptToolsVersion> property in the Visual Studio project file. But you can specify the target TypeScript version explicitly using the TypeScript language level selector on the Code Editing | TypeScript | Inspections page of ReSharper options .
note
If the TypeScript version is auto-detected, which it is by default, and there are several projects with different TypeScript versions in your solution, ReSharper will use the highest version for the whole solution.
Code inspection and other features analyze TypeScript code in different ways depending on the selected language version.
Descriptions of ReSharper features for TypeScript are grouped in the following topics:
To improve performance, ReSharper also automatically detects and starts ignoring large web files that have no references and were probably added to the solution by mistake.
If any of such files are detected, you will see a notification where you can stop ignoring any of those files if you need them. You can also find all automatically ignored files on the Code Editing | Third-Party Code page of ReSharper options .
To stop auto-detection and ignoring large unused web files, clear the Search for web files that can affect performance and exclude them from indexing checkbox on the Code Editing | Third-Party Code page of ReSharper options .
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.