I am trying to convert the Luxurious animals tutorial on combining createjs and box 2d, to Typescript. So far the mess I'm making seems to be working. But now I'm getting a Uncaught TypeError: Cannot call method 'push' of undefined on this line:
this.actors.push(this);
But actors is defined on the .ts as private actors = [];. I've tried may ways but none work. Anyone knows whats going on?
app.ts => http://paste.laravel.com/8HM default.html => http://paste.laravel.com/8HN
Using VS 2012.