TypeScript/tests/baselines/reference/mergedModuleDeclarationCodeGen4.types
2015-04-15 16:44:20 -07:00

41 lines
822 B
Plaintext

=== tests/cases/compiler/mergedModuleDeclarationCodeGen4.ts ===
module superContain {
>superContain : typeof superContain
export module contain {
>contain : typeof contain
export module my.buz {
>my : typeof my
>buz : typeof buz
export module data {
>data : typeof data
export function foo() { }
>foo : () => void
}
}
export module my.buz {
>my : typeof my
>buz : typeof buz
export module data {
>data : typeof data
export function bar(contain, my, buz, data) {
>bar : (contain: any, my: any, buz: any, data: any) => void
>contain : any
>my : any
>buz : any
>data : any
foo();
>foo() : void
>foo : () => void
}
}
}
}
}