Closed
Description
Problem
There is no way to get a tuple value without explicit type annotation:
var tuple = ['hey', 1]; // (string|number)[]
Solution
Add new syntax for tuple literals:
var tuple = (['hey', 1]); // [string, number]
related #9216
Metadata
Metadata
Assignees
Labels
No labels