Given the following interface
interface Expando {
new<T extends {}>(template: T): T & Expando;
}
I tried to implement this like so
class Expando implements ExpandoConstructor {
constructor(template: {}) {
}
}
But I get an error because the constructor definition is incomplete. How do I implement this interface?