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

5 lines
213 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/forIn2.ts (1 errors) ====
for (var i in 1) {
~
!!! The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.
}