15 lines
397 B
JavaScript
15 lines
397 B
JavaScript
//// [collisionThisExpressionAndEnumInGlobal.ts]
|
|
enum _this { // Error
|
|
_thisVal1,
|
|
_thisVal2,
|
|
}
|
|
var f = () => this;
|
|
|
|
//// [collisionThisExpressionAndEnumInGlobal.js]
|
|
var _this = this;
|
|
var _this;
|
|
(function (_this) {
|
|
_this[_this["_thisVal1"] = 0] = "_thisVal1";
|
|
_this[_this["_thisVal2"] = 1] = "_thisVal2";
|
|
})(_this || (_this = {}));
|
|
var f = function () { return _this; };
|