2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/genericWithIndexerOfTypeParameterType2.ts ===
|
|
|
|
export class Collection<TItem extends CollectionItem> {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Collection : Collection<TItem>, Symbol(Collection, Decl(genericWithIndexerOfTypeParameterType2.ts, 0, 0))
|
|
|
|
>TItem : TItem, Symbol(TItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 0, 24))
|
|
|
|
>CollectionItem : CollectionItem, Symbol(CollectionItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 6, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
_itemsByKey: { [key: string]: TItem; };
|
2015-04-13 23:01:57 +02:00
|
|
|
>_itemsByKey : { [key: string]: TItem; }, Symbol(_itemsByKey, Decl(genericWithIndexerOfTypeParameterType2.ts, 0, 55))
|
|
|
|
>key : string, Symbol(key, Decl(genericWithIndexerOfTypeParameterType2.ts, 1, 20))
|
|
|
|
>TItem : TItem, Symbol(TItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 0, 24))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export class List extends Collection<ListItem>{
|
2015-04-13 23:01:57 +02:00
|
|
|
>List : List, Symbol(List, Decl(genericWithIndexerOfTypeParameterType2.ts, 2, 1))
|
|
|
|
>Collection : Collection<TItem>, Symbol(Collection, Decl(genericWithIndexerOfTypeParameterType2.ts, 0, 0))
|
|
|
|
>ListItem : ListItem, Symbol(ListItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 8, 30))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
Bar() {}
|
2015-04-13 23:01:57 +02:00
|
|
|
>Bar : () => void, Symbol(Bar, Decl(genericWithIndexerOfTypeParameterType2.ts, 4, 47))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export class CollectionItem {}
|
2015-04-13 23:01:57 +02:00
|
|
|
>CollectionItem : CollectionItem, Symbol(CollectionItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 6, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class ListItem extends CollectionItem {
|
2015-04-13 23:01:57 +02:00
|
|
|
>ListItem : ListItem, Symbol(ListItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 8, 30))
|
|
|
|
>CollectionItem : CollectionItem, Symbol(CollectionItem, Decl(genericWithIndexerOfTypeParameterType2.ts, 6, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
__isNew: boolean;
|
2015-04-13 23:01:57 +02:00
|
|
|
>__isNew : boolean, Symbol(__isNew, Decl(genericWithIndexerOfTypeParameterType2.ts, 10, 46))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|