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

27 lines
371 B
Plaintext

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