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