10 lines
No EOL
678 B
Text
10 lines
No EOL
678 B
Text
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName3.ts(1,11): error TS1167: Computed property names are only available when targeting ECMAScript 6 and higher.
|
|
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName3.ts(1,12): error TS2304: Cannot find name 'e'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName3.ts (2 errors) ====
|
|
var v = { [e]() { } };
|
|
~~~
|
|
!!! error TS1167: Computed property names are only available when targeting ECMAScript 6 and higher.
|
|
~
|
|
!!! error TS2304: Cannot find name 'e'. |