=== tests/cases/compiler/constraintCheckInGenericBaseTypeReference.ts === // No errors class Constraint { >Constraint : Constraint public method() { } >method : () => void } class GenericBase { >GenericBase : GenericBase >T : T >Constraint : Constraint public items: any; >items : any } class Derived extends GenericBase { >Derived : Derived >GenericBase : GenericBase >TypeArg : TypeArg } class TypeArg { >TypeArg : TypeArg public method() { >method : () => void Container.People.items; >Container.People.items : any >Container.People : Derived >Container : typeof Container >People : Derived >items : any } } class Container { >Container : Container public static People: Derived >People : Derived >Derived : Derived }