mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Fixed conversion from forEach to for-of
This commit is contained in:
1 parent
616d84e4a0
commit
48ca1c49c4
1 file changed
+2
-2
@@ -3479,8 +3479,8 @@ namespace ts {
|
||||
|
||||
for (let element of namedImportsOrExports.elements) {
|
||||
// If this is the current item we are editing right now, do not filter it out
|
||||
if (element.getStart() <= position && position <= element.getEnd()) {
|
||||
return;
|
||||
if (element.getStart() <= position && poition <= element.getEnd()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let name = element.propertyName || element.name;
|
||||
|
||||
Reference in new issue
Block a user