TypeScript/tests/baselines/reference/forInStatement4.errors.txt

9 lines
373 B
Plaintext
Raw Normal View History

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