TypeScript/tests/baselines/reference/thisInModuleFunction1.js
2015-03-23 16:16:29 -07:00

18 lines
296 B
TypeScript

//// [thisInModuleFunction1.ts]
module bar {
export function bar() {
return this;
}
}
var z = bar.bar();
//// [thisInModuleFunction1.js]
var bar;
(function (bar_1) {
function bar() {
return this;
}
bar_1.bar = bar;
})(bar || (bar = {}));
var z = bar.bar();