A tuple type is an array with a predefined length and predefined types in each index position in the array. The types inside this array do not have to be the same, they could be a mixture of different types.
Share this post
The Tuple Type in Typescript - All Things…
Share this post
A tuple type is an array with a predefined length and predefined types in each index position in the array. The types inside this array do not have to be the same, they could be a mixture of different types.