mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
458 B
Plaintext
9 lines
458 B
Plaintext
forInStatement2.ts(2,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 'number'.
|
|
|
|
|
|
==== forInStatement2.ts (1 errors) ====
|
|
declare var expr: number;
|
|
for (var a in expr) {
|
|
~~~~
|
|
!!! 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 'number'.
|
|
} |