7 lines
No EOL
464 B
Text
7 lines
No EOL
464 B
Text
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName15.ts(1,31): error TS1170: Computed property names are not allowed in type literals.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName15.ts (1 errors) ====
|
|
var v: { [e: number]: string; [e]: number };
|
|
~~~
|
|
!!! error TS1170: Computed property names are not allowed in type literals. |