TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types

23 lines
399 B
Plaintext

=== tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface1.ts ===
module Foo {
>Foo : new () => A<Foo<string>>
export interface A<T> {
>A : A<T>
>T : T
}
}
interface Foo<T> {
>Foo : Foo<T>
>T : T
}
var Foo: new () => Foo.A<Foo<string>>;
>Foo : new () => Foo.A<Foo<string>>
>Foo : unknown
>A : Foo.A<T>
>Foo : Foo<T>
export = Foo;
>Foo : Foo<T>