title: Typescript Error on compile last jquery declaration file: jquery.d.ts (164,59): Expected '{'
body: <p>I integrated jquery.d.ts by using "tsd".
  But while try to compile it: </p>
  
  <pre><code>tsc typings/jquery/jquery.d.ts
  </code></pre>
  
  <p>I got the follwing error:</p>
  
  <pre><code>typings/jquery/jquery.d.ts (164,59): Expected '{'
  </code></pre>
  
  <p>jquery.d.ts Line: 164</p>
  
  <pre><code>interface JQueryXHR extends XMLHttpRequest, JQueryPromise&lt;any&gt; {
  </code></pre>
  
  <p>Installed versions:</p>
  
  <pre><code>Typescript: 0.9.5
  NPM: 1.3.4
  NODE: 0.10.25
  </code></pre>
  
  <p>I figured out that if a change the line to the follwing:</p>
  
  <pre><code>interface JQueryXHR extends XMLHttpRequest, JQueryPromise {
  </code></pre>
  
  <p>this error will not be thrown anymore on this line but on the next on.
  So it seems to me, that the compiler does not support any definitions like:</p>
  
  <pre><code>SomeType&lt;T&gt;
  </code></pre>
  
  <p>Does I use the wrong typescript version? I used npm to install this one and it seems to be the newest one.</p>
  
  <p>I'm new to typescript - so has anybody a hint for me?</p>
  
  <p><strong>Found the issue: in system path an old version of tsc was registered. I added correct path to tsc binary and everything works fine.</strong></p>