I have a generic interface like this example with a single type constraint:
export interface IExample { getById(id: number): T;
A work around for this would be to use a super-interface (which also answers the question "why would you allow an interface to inherit from a class").
interface ISuperInterface extends MyClass, OtherClass { } export interface IExample { getById(id: number): T; }