TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types
2014-08-15 14:37:48 -07:00

23 lines
381 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 () => A<Foo<string>>
>Foo : Foo
>A : A
>Foo : Foo
export = Foo;
>Foo : Foo<T>