TypeScript/tests/baselines/reference/genericClassesInModule.types
2015-04-15 16:44:20 -07:00

23 lines
348 B
Plaintext

=== 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