13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
//// [moduleAndInterfaceSharingName3.ts]
|
|
module X {
|
|
export module Y {
|
|
export interface Z { }
|
|
}
|
|
export interface Y<T> { }
|
|
}
|
|
var z: X.Y.Z = null;
|
|
var z2: X.Y<string>;
|
|
|
|
//// [moduleAndInterfaceSharingName3.js]
|
|
var z = null;
|
|
var z2;
|