Skip to content

Glossary: TypeScript Basics

tuple

Also written: tuples

A fixed-length array with its own type for each position, like `[string, number]` for a SKU and a count.

Where the book teaches it

Related terms

array type (T[])destructuring