Visual Studio 2013 does not detect TypeScript links

I had a problem when opening a TypeScript file causes Visual Studio to show an error on any jQuery selector, however when compiling it compiles my TypeScript just fine. My best guess is that VS does not indirectly reference typing files. If I include the reference path, it seems to solve the problem, however, I know that this is not how it should work.

I looked around and did not find anyone who encountered a similar problem except this post , which, unfortunately, was not a solution for me. I don’t understand how to do this.

I am running Visual Studio Premium 2013 and TypeScript 0.9.5.

+4
source share
4 answers

So this is funny. I created a new TypeScript file and all my errors are gone.

+4
source

check visual studio plugins. The MySQL Connector for Visual Studio caused strange errors for me.

+1
source

, TypeScript 0.9.5. , TypeScript Language Service ( intellisense/ ..) .

, .

_references.ts( ), TypeScript . , , TypeScript .

, TS Language Service TS - , , TS 1.0 .

TypeScript CodePlex : https://typescript.codeplex.com/workitem/2071

+1

VS TS. a; , "" / squiggles . , " " typescript VS.

0

All Articles