23 lines
327 B
JavaScript
23 lines
327 B
JavaScript
//// [qualifiedModuleLocals.ts]
|
|
module A {
|
|
|
|
function b() {}
|
|
|
|
export function a(){ A.b(); } // A.b should be an unresolved symbol error
|
|
|
|
}
|
|
|
|
A.a();
|
|
|
|
|
|
//// [qualifiedModuleLocals.js]
|
|
var A;
|
|
(function (A) {
|
|
function b() {
|
|
}
|
|
function a() {
|
|
A.b();
|
|
}
|
|
A.a = a;
|
|
})(A || (A = {}));
|
|
A.a();
|