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