TypeScript/tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.types
2015-04-13 14:29:37 -07:00

30 lines
1.4 KiB
Plaintext

=== tests/cases/compiler/declFileAmbientExternalModuleWithSingleExportedModule_1.ts ===
///<reference path='declFileAmbientExternalModuleWithSingleExportedModule_0.ts'/>
import SubModule = require('SubModule');
>SubModule : typeof SubModule, Symbol(SubModule, Decl(declFileAmbientExternalModuleWithSingleExportedModule_1.ts, 0, 0))
export var x: SubModule.m.m3.c;
>x : SubModule.m.m3.c, Symbol(x, Decl(declFileAmbientExternalModuleWithSingleExportedModule_1.ts, 2, 10))
>SubModule : any, Symbol(SubModule, Decl(declFileAmbientExternalModuleWithSingleExportedModule_1.ts, 0, 0))
>m : any, Symbol(SubModule.m, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 1, 28))
>m3 : any, Symbol(SubModule.m.m3, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 2, 21))
>c : SubModule.m.m3.c, Symbol(SubModule.m.m3.c, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 3, 26))
=== tests/cases/compiler/declFileAmbientExternalModuleWithSingleExportedModule_0.ts ===
declare module "SubModule" {
export module m {
>m : any, Symbol(m, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 1, 28))
export module m3 {
>m3 : any, Symbol(m3, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 2, 21))
interface c {
>c : c, Symbol(c, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 3, 26))
}
}
}
}