2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/namespaces1.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 { }
|
|
|
|
>Y : Y
|
|
|
|
}
|
|
|
|
|
|
|
|
var x: X.Y.Z;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : 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 x2: X.Y;
|
2014-08-25 19:36:12 +02:00
|
|
|
>x2 : X.Y
|
2014-08-28 21:40:58 +02:00
|
|
|
>X : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>Y : X.Y
|
2014-08-15 23:33:16 +02:00
|
|
|
|