23 lines
409 B
Text
23 lines
409 B
Text
=== tests/cases/compiler/mergedModuleDeclarationCodeGen3.ts ===
|
|
module my.data {
|
|
>my : typeof my
|
|
>data : typeof data
|
|
|
|
export function buz() { }
|
|
>buz : () => void
|
|
}
|
|
module my.data.foo {
|
|
>my : typeof my
|
|
>data : typeof data
|
|
>foo : typeof foo
|
|
|
|
function data(my, foo) {
|
|
>data : (my: any, foo: any) => void
|
|
>my : any
|
|
>foo : any
|
|
|
|
buz();
|
|
>buz() : void
|
|
>buz : () => void
|
|
}
|
|
}
|