I recently started learning Typescript and I'm using Visual Studio 2013. I have installed the typescript templates but I encountered an issue when trying to compile existing JavaScript code that includes the $ directive in JQuery. Despite following suggestions to get a .d.ts file from definitelytyped.org, I found myself overwhelmed by the sheer number of files available and lack of clear instructions.
Even after adding the file to my project using NuGet, the error still persists.
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="jquery.TypeScript.DefinitelyTyped" version="3.0.6" targetFramework="net45" />
</packages>
What could I be overlooking?