Using easeljs with typescript: error TS2304: Cannot find name 'EventDispatcher'
<p>I'm trying to use easeljs with typescript</p>

<p>I've setup typescript, and installed typings by:</p>

<pre><code>$ typings install easeljs --ambient
</code></pre>

<p>I have a file named <code>canvas.ts</code>:</p>

<pre><code>/// &lt;reference path="browser/main.d.ts" /&gt;

var canv = &lt; HTMLCanvasElement &gt; document.createElement("canvas");
canv.width = 800;
canv.height = 600;
canv.style.border = "5px solid silver";

var stage = new createjs.Stage(canv);

var circle = new createjs.Shape();
circle.graphics.beginFill("DeepSkyBlue").drawCircle(0, 0, 50);
circle.x = 100;
circle.y = 100;
stage.addChild(circle);

stage.update();

document.body.appendChild(canv);
</code></pre>

<p>Calling <code>tsc canvas.ts</code> I get:</p>

<pre><code>typings/main/ambient/easeljs/easeljs.d.ts(187,40): error TS2304: Cannot find name 'EventDispatcher'.
typings/main/ambient/easeljs/easeljs.d.ts(657,19): error TS2304: Cannot find name 'Timeline'.
typings/main/ambient/easeljs/easeljs.d.ts(679,22): error TS2304: Cannot find name 'Tween'.
typings/main/ambient/easeljs/easeljs.d.ts(797,38): error TS2304: Cannot find name 'EventDispatcher'.
typings/main/ambient/easeljs/easeljs.d.ts(818,45): error TS2304: Cannot find name 'EventDispatcher'.
</code></pre>

<p>If I do <code>typings install tweenjs --ambient</code> only the messages about <code>EventDispatcher</code> remain. Installing <code>createjs</code> using typings won't help.</p>

<p>After calling <code>tsc</code> the .js file seems to be generated correctly (I can see the circle), but the error seems to indicate that I'm doing something wrong. Any ideas what it is?</p>

<p>Disclaimer: never used javascript/typescript before so it's probably something trivial.</p>