TypeScript/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.errors.txt

5 lines
202 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/noImplicitAnyStringIndexerOnObject.ts (1 errors) ====
var x = {}["hello"];
~~~~~~~~~~~
!!! Index signature of object type implicitly has an 'any' type.