TypeScript/tests/baselines/reference/specializationOfExportedClass.types

18 lines
275 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/specializationOfExportedClass.ts ===
module M {
2014-08-28 21:40:58 +02:00
>M : typeof M
2014-08-15 23:33:16 +02:00
export class C<T> { }
>C : C<T>
>T : T
}
var x = new M.C<string>();
2014-08-25 19:36:12 +02:00
>x : M.C<string>
>new M.C<string>() : M.C<string>
>M.C : typeof M.C
2014-08-15 23:33:16 +02:00
>M : typeof M
2014-08-25 19:36:12 +02:00
>C : typeof M.C
2014-08-15 23:33:16 +02:00