I get strange compiling errors when using jquery.d.ts:
/var/www/increment_god/jquery.d.ts (165,59): Expected '{'
But line 165 only contains this row:
interface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {
How to resolve this? I'm using the latest tsc and jquery files. I get similar errors when trying to compile angular.d.ts too.
If I remove <any> from the line above, the next compilation error will be at jQueryPromise<T>.
/// <reference path="jquery.d.ts" />jquery.d.tsis the only file I use. Do I use the wrong version of typescript? How do I know? I installed it using npm.