class List { data: T; next: List>; } class DerivedList extends List { foo: U; // next: List> } class MyList { data: T; next: MyList>; } var list: List; var list2: List; var myList: MyList; var xs = [list, myList]; // {}[] var ys = [list, list2]; // {}[] var zs = [list, null]; // List[] var myDerivedList: DerivedList; var as = [list, myDerivedList]; // List[]