export = ex;
if (typeof module !== 'undefined') {module.exports = ex;}
I've followed the angular2 quickstart https://angular.io/docs/ts/latest/quickstart.html and come up with this using the hack above: https://github.com/eonarheim/angular2-excalibur-example
Hello, I recently came across Excalibur and really liked the look and feel of the lib, and I was thinking of using it on a future project of mine. I currently am working with Angular 2 and thought I'd give it a shot combining them, however I haven't been able to import excalibur as a module (I get the error file "excalibur.d.ts" is not a module) and when I run tsc I am given an error in multiple lines of the excalibur.d.ts file (all of them ES1110 - Type expected). I have tried messing with the said file but haven't gotten anywhere.Could anyone please tell me what's the problem, and if possible how to fix it? Thanks.