27 lines
479 B
Plaintext
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>
|
|
|