26 lines
475 B
Text
26 lines
475 B
Text
=== tests/cases/compiler/declFileExportAssignmentOfGenericInterface_1.ts ===
|
|
import a = require('declFileExportAssignmentOfGenericInterface_0');
|
|
>a : any
|
|
|
|
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>
|
|
|