TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types

23 lines
395 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface1.ts ===
module Foo {
>Foo : new () => A<Foo<string>>
2014-08-15 23:33:16 +02:00
export interface A<T> {
>A : A<T>
>T : T
2014-08-15 23:33:16 +02:00
}
}
interface Foo<T> {
>Foo : Foo<T>
>T : T
2014-08-15 23:33:16 +02:00
}
var Foo: new () => Foo.A<Foo<string>>;
>Foo : new () => Foo.A<Foo<string>>
>Foo : any
>A : Foo.A<T>
>Foo : Foo<T>
2014-08-15 23:33:16 +02:00
export = Foo;
>Foo : Foo<T>
2014-08-15 23:33:16 +02:00