13 lines
242 B
TypeScript
13 lines
242 B
TypeScript
//// [moduleAndInterfaceSharingName.ts]
|
|
module X {
|
|
export module Y {
|
|
export interface Z { }
|
|
}
|
|
export interface Y { }
|
|
}
|
|
var z: X.Y.Z = null;
|
|
var z2: X.Y;
|
|
|
|
//// [moduleAndInterfaceSharingName.js]
|
|
var z = null;
|
|
var z2;
|