mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
331 B
Plaintext
9 lines
331 B
Plaintext
forInStatement4.ts(2,10): error TS2404: The left-hand side of a 'for...in' statement cannot use a type annotation.
|
|
|
|
|
|
==== forInStatement4.ts (1 errors) ====
|
|
var expr: any;
|
|
for (var a: number in expr) {
|
|
~
|
|
!!! error TS2404: The left-hand side of a 'for...in' statement cannot use a type annotation.
|
|
} |