I have a lot of javascript plugins and libraries in my ASP.NET MVC project,
that I want to convert to typescript.
Questions:
How to reference jQuery in ts files?
I get this error below when I manually build the ts file using tsc
myfile.ts(170,4): error TS2304: Cannot find name 'jQuery'.
myfile.ts(172,1): error TS2304: Cannot find name '$'.
myfile.ts(173,2): error TS2304: Cannot find name '$'.
tsconfigfile, they have different scopes and purposes. You absolutely need atsconfigfile for any project that has more than a dozen files and for an AMD (RequireJS) project of even the smallest imaginable size.