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

5 lines
227 B
Plaintext

==== tests/cases/compiler/forIn2.ts (1 errors) ====
for (var i in 1) {
~
!!! error TS2407: The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.
}