2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/genericClassesInModule.ts ===
|
|
|
|
|
|
|
|
module Foo {
|
2014-08-28 21:40:58 +02:00
|
|
|
>Foo : typeof Foo
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class B<T>{ }
|
|
|
|
>B : B<T>
|
|
|
|
>T : T
|
|
|
|
|
|
|
|
export class A { }
|
|
|
|
>A : A
|
|
|
|
}
|
|
|
|
|
|
|
|
var a = new Foo.B<Foo.A>();
|
2014-08-25 19:36:12 +02:00
|
|
|
>a : Foo.B<Foo.A>
|
|
|
|
>new Foo.B<Foo.A>() : Foo.B<Foo.A>
|
|
|
|
>Foo.B : typeof Foo.B
|
2014-08-15 23:33:16 +02:00
|
|
|
>Foo : typeof Foo
|
2014-08-25 19:36:12 +02:00
|
|
|
>B : typeof Foo.B
|
2014-08-28 21:40:58 +02:00
|
|
|
>Foo : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>A : Foo.A
|
2014-08-15 23:33:16 +02:00
|
|
|
|