TypeScript/tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.types

30 lines
1.4 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileAmbientExternalModuleWithSingleExportedModule_1.ts ===
///<reference path='declFileAmbientExternalModuleWithSingleExportedModule_0.ts'/>
import SubModule = require('SubModule');
2015-04-13 23:01:57 +02:00
>SubModule : typeof SubModule, Symbol(SubModule, Decl(declFileAmbientExternalModuleWithSingleExportedModule_1.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export var x: SubModule.m.m3.c;
2015-04-13 23:01:57 +02:00
>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))
2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileAmbientExternalModuleWithSingleExportedModule_0.ts ===
declare module "SubModule" {
export module m {
2015-04-13 23:01:57 +02:00
>m : any, Symbol(m, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 1, 28))
2014-08-15 23:33:16 +02:00
export module m3 {
2015-04-13 23:01:57 +02:00
>m3 : any, Symbol(m3, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 2, 21))
2014-08-15 23:33:16 +02:00
interface c {
2015-04-13 23:01:57 +02:00
>c : c, Symbol(c, Decl(declFileAmbientExternalModuleWithSingleExportedModule_0.ts, 3, 26))
2014-08-15 23:33:16 +02:00
}
}
}
}