TypeScript/tests/cases/compiler/internalAliasUninitializedModuleInsideTopLevelModuleWithoutExport.ts

14 lines
206 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//@module: commonjs
// @declaration: true
export module a {
export module b {
export interface I {
foo();
}
}
}
import b = a.b;
export var x: b.I;
x.foo();