9 lines
466 B
Text
9 lines
466 B
Text
|
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName41.ts(2,5): error TS2464: A computed property name must be of type 'string', 'number', or 'any'.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName41.ts (1 errors) ====
|
||
|
var v = {
|
||
|
[0 in []]: true
|
||
|
~~~~~~~~~
|
||
|
!!! error TS2464: A computed property name must be of type 'string', 'number', or 'any'.
|
||
|
}
|