18 lines
296 B
TypeScript
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();
|