Files
tsgo/testdata/baselines/reference/submodule/compiler/forIn2.errors.txt

8 lines
393 B
Plaintext

forIn2.ts(1,15): error TS2407: The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '1'.
==== 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, but here has type '1'.
}