TypeScript/tests/baselines/reference/specializationOfExportedClass.types
2014-08-15 14:37:48 -07:00

18 lines
267 B
Plaintext

=== tests/cases/compiler/specializationOfExportedClass.ts ===
module M {
>M : typeof M
export class C<T> { }
>C : C<T>
>T : T
}
var x = new M.C<string>();
>x : C<string>
>new M.C<string>() : C<string>
>M.C : typeof C
>M : typeof M
>C : typeof C