24 lines
1.2 KiB
Text
24 lines
1.2 KiB
Text
=== tests/cases/compiler/mergedModuleDeclarationCodeGen2.ts ===
|
|
module my.data.foo {
|
|
>my : typeof my, Symbol(my,Decl(mergedModuleDeclarationCodeGen2.ts,0,0),Decl(mergedModuleDeclarationCodeGen2.ts,2,1))
|
|
>data : typeof data, Symbol(data,Decl(mergedModuleDeclarationCodeGen2.ts,0,10),Decl(mergedModuleDeclarationCodeGen2.ts,3,10))
|
|
>foo : typeof foo, Symbol(foo,Decl(mergedModuleDeclarationCodeGen2.ts,0,15))
|
|
|
|
export function buz() { }
|
|
>buz : () => void, Symbol(buz,Decl(mergedModuleDeclarationCodeGen2.ts,0,20))
|
|
}
|
|
module my.data {
|
|
>my : typeof my, Symbol(my,Decl(mergedModuleDeclarationCodeGen2.ts,0,0),Decl(mergedModuleDeclarationCodeGen2.ts,2,1))
|
|
>data : typeof my.data, Symbol(data,Decl(mergedModuleDeclarationCodeGen2.ts,0,10),Decl(mergedModuleDeclarationCodeGen2.ts,3,10))
|
|
|
|
function data(my) {
|
|
>data : (my: any) => void, Symbol(data,Decl(mergedModuleDeclarationCodeGen2.ts,3,16))
|
|
>my : any, Symbol(my,Decl(mergedModuleDeclarationCodeGen2.ts,4,18))
|
|
|
|
foo.buz();
|
|
>foo.buz() : void
|
|
>foo.buz : () => void, Symbol(foo.buz,Decl(mergedModuleDeclarationCodeGen2.ts,0,20))
|
|
>foo : typeof foo, Symbol(foo,Decl(mergedModuleDeclarationCodeGen2.ts,0,15))
|
|
>buz : () => void, Symbol(foo.buz,Decl(mergedModuleDeclarationCodeGen2.ts,0,20))
|
|
}
|
|
}
|