mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
8 lines
102 B
TypeScript
8 lines
102 B
TypeScript
|
|
function foo([x,y,z]?: [string, number, boolean]) {
|
|
|
|
}
|
|
|
|
foo(["", 0, false]);
|
|
|
|
foo([false, 0, ""]); |