7 lines
No EOL
290 B
Text
7 lines
No EOL
290 B
Text
==== tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement5.ts (2 errors) ====
|
|
for (var a: number in X) {
|
|
~
|
|
!!! The left-hand side of a 'for...in' statement cannot use a type annotation.
|
|
~
|
|
!!! Cannot find name 'X'.
|
|
} |