9 lines
No EOL
409 B
Text
9 lines
No EOL
409 B
Text
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName6.ts(2,3): error TS1164: Computed property names are not allowed in enums.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName6.ts (1 errors) ====
|
|
enum E {
|
|
[e] = 1
|
|
~~~
|
|
!!! error TS1164: Computed property names are not allowed in enums.
|
|
} |