18 lines
385 B
TypeScript
18 lines
385 B
TypeScript
//// [collisionThisExpressionAndModuleInGlobal.ts]
|
|
module _this { //Error
|
|
class c {
|
|
}
|
|
}
|
|
var f = () => this;
|
|
|
|
//// [collisionThisExpressionAndModuleInGlobal.js]
|
|
var _this = this;
|
|
var _this;
|
|
(function (_this) {
|
|
var c = (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
})();
|
|
})(_this || (_this = {}));
|
|
var f = function () { return _this; };
|