7 lines
No EOL
473 B
Text
7 lines
No EOL
473 B
Text
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName2.ts(1,11): error TS1165: Computed property names are only available when targeting ECMAScript 6 and higher.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName2.ts (1 errors) ====
|
|
var v = { [e]: 1 };
|
|
~~~
|
|
!!! error TS1165: Computed property names are only available when targeting ECMAScript 6 and higher. |