Typed Array

no-email (• Kartoffeljunge •), • Kartoffeljunge •
Sat, 26 Oct 2024 00:00:00 +0000

It is possible to set the type of all elements in a variadic: this is equivalent of passing an argument of type ``array``. That way, all the elements in the array must have the expected type. Use union-type to make have several distinct types.