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

22 lines
391 B
Plaintext

=== tests/cases/compiler/exportAssignmentInternalModule_B.ts ===
import modM = require("exportAssignmentInternalModule_A");
>modM : typeof modM
var n: number = modM.x;
>n : number
>modM.x : any
>modM : typeof modM
>x : any
=== tests/cases/compiler/exportAssignmentInternalModule_A.ts ===
module M {
>M : typeof M
export var x;
>x : any
}
export = M;
>M : typeof M