TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types
2015-04-15 16:44:20 -07:00

23 lines
395 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 : any
>A : Foo.A<T>
>Foo : Foo<T>
export = Foo;
>Foo : Foo<T>