TypeScript/tests/baselines/reference/specializationOfExportedClass.types

17 lines
661 B
Text

=== tests/cases/compiler/specializationOfExportedClass.ts ===
module M {
>M : typeof M, Symbol(M,Decl(specializationOfExportedClass.ts,0,0))
export class C<T> { }
>C : C<T>, Symbol(C,Decl(specializationOfExportedClass.ts,0,10))
>T : T, Symbol(T,Decl(specializationOfExportedClass.ts,2,15))
}
var x = new M.C<string>();
>x : M.C<string>, Symbol(x,Decl(specializationOfExportedClass.ts,6,3))
>new M.C<string>() : M.C<string>
>M.C : typeof M.C, Symbol(M.C,Decl(specializationOfExportedClass.ts,0,10))
>M : typeof M, Symbol(M,Decl(specializationOfExportedClass.ts,0,0))
>C : typeof M.C, Symbol(M.C,Decl(specializationOfExportedClass.ts,0,10))