JMK
JMK

Reputation: 28059

TypeScript compiling fine, but still getting intellisense errors

Very frustrating, I am in a situation where TypeScript is compiling fine, but I am still getting Intellisense errors.

This is TypeScript 1.7 in Visual Studio 2015, Update 1.

Error saying TypeScript 1.5 feature. Current language level is 1.4.

Error saying Symbol Component cannot be properly resolved, probably it is located in inaccessible module.

When I make a change and hit save however, it compiles fine, and the underlying Javascript gets updated.

Any ideas?

Cheers

Upvotes: 11

Views: 2876

Answers (1)

shadeglare
shadeglare

Reputation: 7536

You could check out your .csproj file if you have a c#-based project. Sometimes there's an incorrect version of typescript. Look for a string with:

<TypeScriptToolsVersion>version</TypeScriptToolsVersion>

There should be 1.7.

Upvotes: 1

Related Questions