TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface1.types

23 lines
399 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface1.ts ===
module Foo {
2014-08-28 21:40:58 +02:00
>Foo : new () => A<Foo<string>>
2014-08-15 23:33:16 +02:00
export interface A<T> {
>A : A<T>
>T : T
}
}
interface Foo<T> {
>Foo : Foo<T>
>T : T
}
var Foo: new () => Foo.A<Foo<string>>;
2014-08-25 19:36:12 +02:00
>Foo : new () => Foo.A<Foo<string>>
>Foo : unknown
2014-08-25 19:36:12 +02:00
>A : Foo.A<T>
>Foo : Foo<T>
2014-08-15 23:33:16 +02:00
export = Foo;
>Foo : Foo<T>