mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +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;
|