29 lines
1.3 KiB
Text
29 lines
1.3 KiB
Text
=== tests/cases/compiler/exportAssignmentOfGenericType1_1.ts ===
|
|
///<reference path='exportAssignmentOfGenericType1_0.ts'/>
|
|
import q = require("exportAssignmentOfGenericType1_0");
|
|
>q : Symbol(q, Decl(exportAssignmentOfGenericType1_1.ts, 0, 0))
|
|
|
|
class M extends q<string> { }
|
|
>M : Symbol(M, Decl(exportAssignmentOfGenericType1_1.ts, 1, 55))
|
|
>q : Symbol(q, Decl(exportAssignmentOfGenericType1_1.ts, 0, 0))
|
|
|
|
var m: M;
|
|
>m : Symbol(m, Decl(exportAssignmentOfGenericType1_1.ts, 4, 3))
|
|
>M : Symbol(M, Decl(exportAssignmentOfGenericType1_1.ts, 1, 55))
|
|
|
|
var r: string = m.foo;
|
|
>r : Symbol(r, Decl(exportAssignmentOfGenericType1_1.ts, 5, 3))
|
|
>m.foo : Symbol(q.foo, Decl(exportAssignmentOfGenericType1_0.ts, 1, 12))
|
|
>m : Symbol(m, Decl(exportAssignmentOfGenericType1_1.ts, 4, 3))
|
|
>foo : Symbol(q.foo, Decl(exportAssignmentOfGenericType1_0.ts, 1, 12))
|
|
|
|
=== tests/cases/compiler/exportAssignmentOfGenericType1_0.ts ===
|
|
export = T;
|
|
>T : Symbol(T, Decl(exportAssignmentOfGenericType1_0.ts, 0, 11))
|
|
|
|
class T<X> { foo: X; }
|
|
>T : Symbol(T, Decl(exportAssignmentOfGenericType1_0.ts, 0, 11))
|
|
>X : Symbol(X, Decl(exportAssignmentOfGenericType1_0.ts, 1, 8))
|
|
>foo : Symbol(foo, Decl(exportAssignmentOfGenericType1_0.ts, 1, 12))
|
|
>X : Symbol(X, Decl(exportAssignmentOfGenericType1_0.ts, 1, 8))
|
|
|