in a vs2012 typescript solution, how do you add reference files like jQuery.d.ts

Topics: General
Oct 3, 2012 at 6:40 PM

Is there a dialog, something like Add Refernence or so to add any of the declaration files provided by type script (I 'm currently using typescript in VS2012 express) or do I have to copy them manually to the project?

Oct 3, 2012 at 8:40 PM
Edited Oct 3, 2012 at 8:41 PM

I just copy the necessary files into a References folder in the Solution folder.

It's something that could be handled with NuGet once the Source Definition Files are stable. I'm working on a .d.ts for AngularJS which I'm intending to put on NuGet when it's done.