We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There is no way to get a tuple value without explicit type annotation:
var tuple = ['hey', 1]; // (string|number)[]
Add new syntax for tuple literals:
var tuple = (['hey', 1]); // [string, number]
related #9216
Problem
There is no way to get a tuple value without explicit type annotation:
Solution
Add new syntax for tuple literals:
related #9216