I have not found a way to export an instance of a class easily in TypeScript. I had to come up with the following workaround for creating the correct javascript code.
var expo = new Logger("default"); export = expo;
generates
var expo = new Logger("default"); module.exports = expo;
Is there an easier way to achieve this?
javascript typescript
codevour
source share