Files
tsgo/testdata/baselines/reference/submodule/compiler/exportObjectRest(module=esnext,target=esnext).js

8 lines
216 B
TypeScript

//// [tests/cases/compiler/exportObjectRest.ts] ////
//// [exportObjectRest.ts]
export const { x, ...rest } = { x: 'x', y: 'y' };
//// [exportObjectRest.js]
export const { x, ...rest } = { x: 'x', y: 'y' };