==== tests/cases/compiler/recursiveTypes1.ts (2 errors) ==== interface Entity> { ~~~~~~~~~~~~~~~~~~~ !!! Constraint of a type parameter cannot reference any type parameter from the same type parameter list. X: T; Y: T; } interface Person> extends Entity { ~~~~~~~~~~~~~~~~~~~ !!! Constraint of a type parameter cannot reference any type parameter from the same type parameter list. n: number; } interface Customer extends Person { s: string; }