6 lines
No EOL
259 B
Text
6 lines
No EOL
259 B
Text
==== tests/cases/compiler/collisionThisExpressionAndClassInGlobal.ts (1 errors) ====
|
|
class _this {
|
|
~~~~~
|
|
!!! Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.
|
|
}
|
|
var f = () => this; |