2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileExportAssignmentOfGenericInterface_1.ts ===
|
|
|
|
import a = require('declFileExportAssignmentOfGenericInterface_0');
|
2014-08-28 21:40:58 +02:00
|
|
|
>a : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x: a<a<string>>;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : a<a<string>>
|
|
|
|
>a : a<T>
|
|
|
|
>a : a<T>
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x.a;
|
|
|
|
>x.a : string
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : a<a<string>>
|
2014-08-15 23:33:16 +02:00
|
|
|
>a : string
|
|
|
|
|
|
|
|
=== tests/cases/compiler/declFileExportAssignmentOfGenericInterface_0.ts ===
|
|
|
|
|
|
|
|
interface Foo<T> {
|
|
|
|
>Foo : Foo<T>
|
|
|
|
>T : T
|
|
|
|
|
|
|
|
a: string;
|
|
|
|
>a : string
|
|
|
|
}
|
|
|
|
export = Foo;
|
|
|
|
>Foo : Foo<T>
|
|
|
|
|