I didn't find a way to export a class instance easily in TypeScript. I had to come up with the following workaround to generate proper javascript code.
var expo = new Logger("default");
export = expo;
generates
var expo = new Logger("default");
module.exports = expo;
Is there an easier way of achieving this?
export new Logger("default");. Hm... still don't find it very clear. Anyway, thanks.