10 lines
371 B
Plaintext
10 lines
371 B
Plaintext
|
tests/cases/conformance/es6/for-ofStatements/for-of55.ts(2,15): error TS2448: Block-scoped variable 'v' used before its declaration.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/for-ofStatements/for-of55.ts (1 errors) ====
|
||
|
let v = [1];
|
||
|
for (let v of v) {
|
||
|
~
|
||
|
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||
|
v;
|
||
|
}
|