Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/exportObjectRest(module=commonjs,target=esnext).js.diff
2026-05-19 18:33:14 +00:00

11 lines
436 B
Diff

--- old.exportObjectRest(module=commonjs,target=esnext).js
+++ new.exportObjectRest(module=commonjs,target=esnext).js
@@= skipped -4, +4 lines =@@
//// [exportObjectRest.js]
"use strict";
-var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.rest = exports.x = void 0;
-_a = { x: 'x', y: 'y' }, exports.x = _a.x, exports.rest = __rest(_a, ["x"]);
+({ x: exports.x, ...exports.rest } = { x: 'x', y: 'y' });