TypeScript/tests/baselines/reference/forInStatement4.errors.txt
2014-09-12 13:35:07 -07:00

9 lines
373 B
Plaintext

tests/cases/compiler/forInStatement4.ts(2,10): error TS2404: The left-hand side of a 'for...in' statement cannot use a type annotation.
==== tests/cases/compiler/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.
}