2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/exportAssignmentInternalModule_B.ts ===
|
|
|
|
import modM = require("exportAssignmentInternalModule_A");
|
2015-04-13 23:01:57 +02:00
|
|
|
>modM : typeof modM, Symbol(modM, Decl(exportAssignmentInternalModule_B.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var n: number = modM.x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>n : number, Symbol(n, Decl(exportAssignmentInternalModule_B.ts, 2, 3))
|
|
|
|
>modM.x : any, Symbol(modM.x, Decl(exportAssignmentInternalModule_A.ts, 1, 11))
|
|
|
|
>modM : typeof modM, Symbol(modM, Decl(exportAssignmentInternalModule_B.ts, 0, 0))
|
|
|
|
>x : any, Symbol(modM.x, Decl(exportAssignmentInternalModule_A.ts, 1, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/exportAssignmentInternalModule_A.ts ===
|
|
|
|
module M {
|
2015-04-13 23:01:57 +02:00
|
|
|
>M : typeof M, Symbol(M, Decl(exportAssignmentInternalModule_A.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(exportAssignmentInternalModule_A.ts, 1, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export = M;
|
2015-04-13 23:01:57 +02:00
|
|
|
>M : typeof M, Symbol(M, Decl(exportAssignmentInternalModule_A.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|