10 lines
No EOL
334 B
Text
10 lines
No EOL
334 B
Text
tests/cases/compiler/thisInModule.ts(3,5): error TS2331: 'this' cannot be referenced in a module or namespace body.
|
|
|
|
|
|
==== tests/cases/compiler/thisInModule.ts (1 errors) ====
|
|
module myMod {
|
|
var x;
|
|
this.x = 5;
|
|
~~~~
|
|
!!! error TS2331: 'this' cannot be referenced in a module or namespace body.
|
|
} |