2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/moduleAndInterfaceSharingName3.ts ===
|
|
|
|
module X {
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module Y {
|
2014-08-28 21:40:58 +02:00
|
|
|
>Y : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface Z { }
|
|
|
|
>Z : Z
|
|
|
|
}
|
|
|
|
export interface Y<T> { }
|
|
|
|
>Y : Y<T>
|
|
|
|
>T : T
|
|
|
|
}
|
|
|
|
var z: X.Y.Z = null;
|
2014-08-25 19:36:12 +02:00
|
|
|
>z : X.Y.Z
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : unknown
|
|
|
|
>Y : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>Z : X.Y.Z
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var z2: X.Y<string>;
|
2014-08-25 19:36:12 +02:00
|
|
|
>z2 : X.Y<string>
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>Y : X.Y<T>
|
2014-08-15 23:33:16 +02:00
|
|
|
|