21 lines
391 B
Text
21 lines
391 B
Text
=== 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
|
|
|