diff --git a/crates/swc/tests/tsc-references/for-of53.1.normal.js b/crates/swc/tests/tsc-references/for-of53.1.normal.js index 5ddedc9d559b3..5a00240b416d1 100644 --- a/crates/swc/tests/tsc-references/for-of53.1.normal.js +++ b/crates/swc/tests/tsc-references/for-of53.1.normal.js @@ -1,4 +1,4 @@ //// [for-of53.ts] -for (let v of []){ +for (let v1 of []){ var v; } diff --git a/crates/swc/tests/tsc-references/for-of54.1.normal.js b/crates/swc/tests/tsc-references/for-of54.1.normal.js index 6ca5c3acf677d..fe60b2d15ccc6 100644 --- a/crates/swc/tests/tsc-references/for-of54.1.normal.js +++ b/crates/swc/tests/tsc-references/for-of54.1.normal.js @@ -1,4 +1,4 @@ //// [for-of54.ts] -for (let v of []){ +for (let v1 of []){ var v = 0; } diff --git a/crates/swc/tests/tsc-references/objectRestForOf.2.minified.js b/crates/swc/tests/tsc-references/objectRestForOf.2.minified.js index 4e39e61091ae9..a6b5daa04f4dd 100644 --- a/crates/swc/tests/tsc-references/objectRestForOf.2.minified.js +++ b/crates/swc/tests/tsc-references/objectRestForOf.2.minified.js @@ -3,9 +3,9 @@ let array, xx; import _object_spread from "@swc/helpers/src/_object_spread.mjs"; import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs"; import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs"; -for (let _ref of array){ - var _ref, { x } = _ref; - _object_without_properties(_ref, [ +for (let _ref1 of array){ + var _ref, { x } = _ref1; + _object_without_properties(_ref1, [ "x" ]); }