9 lines
No EOL
435 B
Text
9 lines
No EOL
435 B
Text
tests/cases/conformance/es6/for-ofStatements/for-of54.ts(2,9): error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block scoped declaration 'v'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/for-ofStatements/for-of54.ts (1 errors) ====
|
|
for (let v of []) {
|
|
var v = 0;
|
|
~
|
|
!!! error TS2481: Cannot initialize outer scoped variable 'v' in the same scope as block scoped declaration 'v'.
|
|
} |