mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
3 lines
95 B
TypeScript
3 lines
95 B
TypeScript
|
var a: string, b: number;
|
||
|
var tuple: [string, number] = ["", 1];
|
||
|
[...{ 0: a = "", b }] = tuple;
|