9 lines
No EOL
290 B
Text
9 lines
No EOL
290 B
Text
tests/cases/compiler/thisKeyword.ts(2,5): error TS2331: 'this' cannot be referenced in a module body.
|
|
|
|
|
|
==== tests/cases/compiler/thisKeyword.ts (1 errors) ====
|
|
module foo {
|
|
this.bar = 4;
|
|
~~~~
|
|
!!! error TS2331: 'this' cannot be referenced in a module body.
|
|
} |