I have a Typescript class which includes a generic which needs to extend another class and implement an interface. Here is an example
interface IHasImage {
It looks like this is the only way of doing it that I can find. Not perfectly clean but it does the right thing.
interface IHasImage extends Model{ imageUrl():string; } class Model { } class View { }
Here is a screenshot from the playground verifying that it works:
Edit: Added correct workaround.