2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/exportAssignmentInternalModule_B.ts ===
|
|
|
|
import modM = require("exportAssignmentInternalModule_A");
|
2014-08-28 21:40:58 +02:00
|
|
|
>modM : typeof modM
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var n: number = modM.x;
|
|
|
|
>n : number
|
|
|
|
>modM.x : any
|
2014-08-25 19:36:12 +02:00
|
|
|
>modM : typeof modM
|
2014-08-15 23:33:16 +02:00
|
|
|
>x : any
|
|
|
|
|
|
|
|
=== tests/cases/compiler/exportAssignmentInternalModule_A.ts ===
|
|
|
|
module M {
|
2014-08-28 21:40:58 +02:00
|
|
|
>M : typeof M
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var x;
|
|
|
|
>x : any
|
|
|
|
}
|
|
|
|
|
|
|
|
export = M;
|
|
|
|
>M : typeof M
|
|
|
|
|