TypeScript/tests/baselines/reference/exportAssignmentInternalModule.types

22 lines
391 B
Plaintext
Raw Normal View History

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