22 lines
348 B
Text
22 lines
348 B
Text
=== tests/cases/compiler/genericClassesInModule.ts ===
|
|
|
|
module Foo {
|
|
>Foo : typeof Foo
|
|
|
|
export class B<T>{ }
|
|
>B : B<T>
|
|
>T : T
|
|
|
|
export class A { }
|
|
>A : A
|
|
}
|
|
|
|
var a = new Foo.B<Foo.A>();
|
|
>a : Foo.B<Foo.A>
|
|
>new Foo.B<Foo.A>() : Foo.B<Foo.A>
|
|
>Foo.B : typeof Foo.B
|
|
>Foo : typeof Foo
|
|
>B : typeof Foo.B
|
|
>Foo : any
|
|
>A : Foo.A
|
|
|