6 lines
169 B
Plaintext
6 lines
169 B
Plaintext
|
==== tests/cases/compiler/thisKeyword.ts (1 errors) ====
|
||
|
module foo {
|
||
|
this.bar = 4;
|
||
|
~~~~
|
||
|
!!! 'this' cannot be referenced in a module body.
|
||
|
}
|