25 lines
1.2 KiB
Text
25 lines
1.2 KiB
Text
=== tests/cases/compiler/moduleAndInterfaceSharingName3.ts ===
|
|
module X {
|
|
>X : Symbol(X, Decl(moduleAndInterfaceSharingName3.ts, 0, 0))
|
|
|
|
export module Y {
|
|
>Y : Symbol(Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))
|
|
|
|
export interface Z { }
|
|
>Z : Symbol(Z, Decl(moduleAndInterfaceSharingName3.ts, 1, 21))
|
|
}
|
|
export interface Y<T> { }
|
|
>Y : Symbol(Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))
|
|
>T : Symbol(T, Decl(moduleAndInterfaceSharingName3.ts, 4, 23))
|
|
}
|
|
var z: X.Y.Z = null;
|
|
>z : Symbol(z, Decl(moduleAndInterfaceSharingName3.ts, 6, 3))
|
|
>X : Symbol(X, Decl(moduleAndInterfaceSharingName3.ts, 0, 0))
|
|
>Y : Symbol(X.Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))
|
|
>Z : Symbol(X.Y.Z, Decl(moduleAndInterfaceSharingName3.ts, 1, 21))
|
|
|
|
var z2: X.Y<string>;
|
|
>z2 : Symbol(z2, Decl(moduleAndInterfaceSharingName3.ts, 7, 3))
|
|
>X : Symbol(X, Decl(moduleAndInterfaceSharingName3.ts, 0, 0))
|
|
>Y : Symbol(X.Y, Decl(moduleAndInterfaceSharingName3.ts, 0, 10), Decl(moduleAndInterfaceSharingName3.ts, 3, 5))
|
|
|