2014-09-12 22:35:07 +02:00
|
|
|
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) {
|
2014-07-19 02:30:06 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2404: The left-hand side of a 'for...in' statement cannot use a type annotation.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|