2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileExportAssignmentOfGenericInterface_1.ts ===
|
|
|
|
import a = require('declFileExportAssignmentOfGenericInterface_0');
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : any, Symbol(a,Decl(declFileExportAssignmentOfGenericInterface_1.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x: a<a<string>>;
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : a<a<string>>, Symbol(x,Decl(declFileExportAssignmentOfGenericInterface_1.ts,1,10))
|
|
|
|
>a : a<T>, Symbol(a,Decl(declFileExportAssignmentOfGenericInterface_1.ts,0,0))
|
|
|
|
>a : a<T>, Symbol(a,Decl(declFileExportAssignmentOfGenericInterface_1.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x.a;
|
2015-04-13 22:54:22 +02:00
|
|
|
>x.a : string, Symbol(a.a,Decl(declFileExportAssignmentOfGenericInterface_0.ts,1,18))
|
|
|
|
>x : a<a<string>>, Symbol(x,Decl(declFileExportAssignmentOfGenericInterface_1.ts,1,10))
|
|
|
|
>a : string, Symbol(a.a,Decl(declFileExportAssignmentOfGenericInterface_0.ts,1,18))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/declFileExportAssignmentOfGenericInterface_0.ts ===
|
|
|
|
|
|
|
|
interface Foo<T> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>Foo : Foo<T>, Symbol(Foo,Decl(declFileExportAssignmentOfGenericInterface_0.ts,0,0))
|
|
|
|
>T : T, Symbol(T,Decl(declFileExportAssignmentOfGenericInterface_0.ts,1,14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a: string;
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : string, Symbol(a,Decl(declFileExportAssignmentOfGenericInterface_0.ts,1,18))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
export = Foo;
|
2015-04-13 22:54:22 +02:00
|
|
|
>Foo : Foo<T>, Symbol(Foo,Decl(declFileExportAssignmentOfGenericInterface_0.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|