Ever since I updated to the latest jQuery.d.ts
definition file, using the Visual Studio NuGet package manager, I now get 100s of errors within the jQuery.d.ts file.
The pattern to all the errors is vertical lines like this:
index(selector: string|JQuery|Element): number;
which I assume indicates optional types. The errors mostly look like:
\Scripts\typings\jquery\jquery.d.ts(2797,34): error TS1005: Build: ',' expected.
The default Build Action was TypeScriptCompile
, but changing that to none
has no effect.
I am running Visual studio 2013 Professional release 4, so assumed I would have the latest TypeScript version, but this looks like a versioning issue.
Any ideas on how to resolve the problem.