10 lines
627 B
Plaintext
10 lines
627 B
Plaintext
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName8.ts(1,10): error TS1170: Computed property names are not allowed in type literals.
|
|
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName8.ts(1,11): error TS2304: Cannot find name 'e'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName8.ts (2 errors) ====
|
|
var v: { [e]: number };
|
|
~~~
|
|
!!! error TS1170: Computed property names are not allowed in type literals.
|
|
~
|
|
!!! error TS2304: Cannot find name 'e'. |