9 lines
452 B
Plaintext
9 lines
452 B
Plaintext
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName10.ts(2,4): error TS1166: Computed property names are not allowed in class property declarations.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName10.ts (1 errors) ====
|
|
class C {
|
|
[e] = 1
|
|
~~~
|
|
!!! error TS1166: Computed property names are not allowed in class property declarations.
|
|
} |