TypeScript/tests/baselines/reference/forInStatement7.errors.txt
2014-07-12 17:30:19 -07:00

7 lines
No EOL
226 B
Text

==== tests/cases/compiler/forInStatement7.ts (1 errors) ====
var a: number;
var expr: any;
for (a in expr) {
~
!!! Variable declarations of a 'for' statement must be of types 'string' or 'any'.
}