TypeScript/tests/baselines/reference/namespacesDeclaration.js

23 lines
338 B
TypeScript
Raw Normal View History

2015-06-18 06:20:20 +02:00
//// [namespacesDeclaration.ts]
module M {
export namespace N {
export module M2 {
export interface I {}
}
}
}
//// [namespacesDeclaration.js]
//// [namespacesDeclaration.d.ts]
declare module M {
namespace N {
module M2 {
interface I {
}
}
}
}