85225c8f29
Fixes #41 and #42.
17 lines
294 B
JavaScript
17 lines
294 B
JavaScript
//// [thisInModuleFunction1.ts]
|
|
module bar {
|
|
export function bar() {
|
|
return this;
|
|
}
|
|
}
|
|
var z = bar.bar();
|
|
|
|
//// [thisInModuleFunction1.js]
|
|
var bar;
|
|
(function (_bar) {
|
|
function bar() {
|
|
return this;
|
|
}
|
|
_bar.bar = bar;
|
|
})(bar || (bar = {}));
|
|
var z = bar.bar();
|