How to make an array with a specific length or array elements in TypeScript?
Originally Published Here ๐!
To make an array with a specific length or array elements, we can use the concept of tuple types in TypeScript.
A tuple type in TypeScript is basically an array but it knows beforehand how many array elements it will hol...
melvingeorge-me.hashnode.dev4 min read