7 lines
No EOL
186 B
Text
7 lines
No EOL
186 B
Text
==== tests/cases/compiler/thisInModule.ts (1 errors) ====
|
|
module myMod {
|
|
var x;
|
|
this.x = 5;
|
|
~~~~
|
|
!!! 'this' cannot be referenced in a module body.
|
|
} |