5 lines
No EOL
202 B
Text
5 lines
No EOL
202 B
Text
==== tests/cases/compiler/noImplicitAnyStringIndexerOnObject.ts (1 errors) ====
|
|
|
|
var x = {}["hello"];
|
|
~~~~~~~~~~~
|
|
!!! Index signature of object type implicitly has an 'any' type. |