Intellisense for Typescript 2+

Hi

Resharper is giving me IntelliSense errors for Typescript files.

For example, it says it cannot find the Promise object, Number states it cannot be resolved, etc.

I did see at one point as a hint saying a statement was Typescript 2 but was set for 1.8 (or similar), but I can't find where you set the version for IntelliSense (tsconfig is set to ES2020)

Any help would be appreciated

Thanks

Stephen

 

 

1 comment
Comment actions Permalink

Hello Stephen,

You can specify TypeScript language level in ReSharper | Options | Code Editing | TypeScript | Inspections.

If you still experience any issues with intellisense please provide some sample solution in which the problem is reproduced.

Thank you.

0

Please sign in to leave a comment.