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

7 lines
268 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts (2 errors) ====
for ({} in b) {
~~
!!! The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.
~
!!! Cannot find name 'b'.
}