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>>
|
2014-11-11 04:19:33 +01:00
|
|
|
>Foo : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>A : Foo.A<T>
|
2014-08-19 04:56:03 +02:00
|
|
|
>Foo : Foo<T>
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export = Foo;
|
|
|
|
>Foo : Foo<T>
|
|
|
|
|