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

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.
}