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.
source
share