tuple type

A fixed-length list where each position has its own meaning and type, such as [major, minor, patch].

In more detail

In TypeScript, type Ver = [number, number, number] declares a tuple of exactly three numbers. The governance lesson stores versions this way.

Related terms

Taught in

References