mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
8 lines
216 B
TypeScript
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' };
|