TypeScript/tests/baselines/reference/moduleAndInterfaceSharingName.types
2015-04-15 16:44:20 -07:00

25 lines
337 B
Text

=== tests/cases/compiler/moduleAndInterfaceSharingName.ts ===
module X {
>X : any
export module Y {
>Y : any
export interface Z { }
>Z : Z
}
export interface Y { }
>Y : Y
}
var z: X.Y.Z = null;
>z : X.Y.Z
>X : any
>Y : any
>Z : X.Y.Z
>null : null
var z2: X.Y;
>z2 : X.Y
>X : any
>Y : X.Y