How exactly can I use easeljs in Angular2?
I have found this question:
but the answerer merely states how to install the typings. But then what?
I have roughly the same issue with this blog post:
adding-typescript-definitions-to-angular2
Again, shows how to add the typings but then what? Do I need to import something?
Here is a simple component that I would like to get working:
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-test',
template: `
    <canvas id="demoCanvas" width="500" height="300" style="border: 1px solid black;"></canvas>
`
})
export class TestComponent implements OnInit {
constructor() { }
ngOnInit() {
    var stage = createjs.Stage("demoCanvas");       
    var circle = createjs.Shape();
    circle.graphics.beginFill("DeepSkyBlue").drawCircle(0, 0, 50);
    circle.x = 100;
    circle.y = 100;
    stage.addChild(circle);
}
}
But what do I do then?
 
    