11 lines
154 B
TypeScript
11 lines
154 B
TypeScript
|
//// [thisKeyword.ts]
|
||
|
module foo {
|
||
|
this.bar = 4;
|
||
|
}
|
||
|
|
||
|
//// [thisKeyword.js]
|
||
|
var foo;
|
||
|
(function (foo) {
|
||
|
this.bar = 4;
|
||
|
})(foo || (foo = {}));
|