TypeScript/tests/baselines/reference/declFileExportAssignmentOfGenericInterface.types
2014-08-28 12:40:58 -07:00

27 lines
479 B
Plaintext

=== tests/cases/compiler/declFileExportAssignmentOfGenericInterface_1.ts ===
import a = require('declFileExportAssignmentOfGenericInterface_0');
>a : unknown
export var x: a<a<string>>;
>x : a<a<string>>
>a : a<T>
>a : a<T>
x.a;
>x.a : string
>x : a<a<string>>
>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>