TypeScript/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.errors.txt
2014-07-12 17:30:19 -07:00

5 lines
202 B
Plaintext

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