2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/mergedModuleDeclarationCodeGen4.ts ===
|
|
|
|
module superContain {
|
2015-04-16 01:44:20 +02:00
|
|
|
>superContain : typeof superContain
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module contain {
|
2015-04-16 01:44:20 +02:00
|
|
|
>contain : typeof contain
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module my.buz {
|
2015-04-16 01:44:20 +02:00
|
|
|
>my : typeof my
|
|
|
|
>buz : typeof buz
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module data {
|
2015-04-16 01:44:20 +02:00
|
|
|
>data : typeof data
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export function foo() { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>foo : () => void
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
export module my.buz {
|
2015-04-16 01:44:20 +02:00
|
|
|
>my : typeof my
|
|
|
|
>buz : typeof buz
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export module data {
|
2015-04-16 01:44:20 +02:00
|
|
|
>data : typeof data
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export function bar(contain, my, buz, data) {
|
2015-04-16 01:44:20 +02:00
|
|
|
>bar : (contain: any, my: any, buz: any, data: any) => void
|
|
|
|
>contain : any
|
|
|
|
>my : any
|
|
|
|
>buz : any
|
|
|
|
>data : any
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo();
|
|
|
|
>foo() : void
|
2015-04-16 01:44:20 +02:00
|
|
|
>foo : () => void
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|