Skip to content
ts
const 
superTuple
: [string, string, ...string[]] = ["one", "two", "three", "four"];
const
result
=
superTuple
.
map
((
element
) =>
element
.
length
);
void
result
;

Released under the MIT License.