TypeScript/tests/cases/compiler/collisionThisExpressionAndEnumInGlobal.ts
2014-07-12 17:30:19 -07:00

5 lines
77 B
TypeScript

enum _this { // Error
_thisVal1,
_thisVal2,
}
var f = () => this;