11 lines
406 B
Text
11 lines
406 B
Text
|
tests/cases/conformance/es6/computedProperties/computedPropertyNames19.ts(3,10): error TS2331: 'this' cannot be referenced in a module body.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/computedProperties/computedPropertyNames19.ts (1 errors) ====
|
||
|
module M {
|
||
|
var obj = {
|
||
|
[this.bar]: 0
|
||
|
~~~~
|
||
|
!!! error TS2331: 'this' cannot be referenced in a module body.
|
||
|
}
|
||
|
}
|