TypeScript/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.errors.txt
2014-09-11 16:11:08 -07:00

5 lines
216 B
Plaintext

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