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

30 lines
1.3 KiB
Plaintext

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