2 posts tagged with "typescript"

View All Tags

TypeScript Tuple



JavaScript Dev

TS tuples are the same as an array but are subtypes of the array. Tuple can be defined in a special way that has fixed lengths where the values at each index have a specific and known value. Tuples have to be