Playground
Input:
const { x, ...y } = { x: 1, y: 1, z: 1 };
Current Result:
local ____ = {x = 1, y = 1, z = 1}
x = ____.x
y = __TS__ObjectRest(____, {x = true, y = true})
Expected Result:
local ____ = {x = 1, y = 1, z = 1}
x = ____.x
y = __TS__ObjectRest(____, {x = true})