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