mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
654d05ca29
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
13 lines
339 B
TypeScript
13 lines
339 B
TypeScript
// @target: esnext
|
|
// @module: commonjs
|
|
// @strict: true
|
|
|
|
declare function foo(): any;
|
|
export const [A, V] = foo();
|
|
export const { x, y } = foo();
|
|
export const [a = 1, b = 2] = foo();
|
|
export const [c, ...d] = foo();
|
|
export const [, e, , f] = foo();
|
|
export const [[g, h], { i, j: k }] = foo();
|
|
export const { m: [n, o], p: { q } } = foo();
|