Tuple Type
Sometimes it would be nice to specify a length for a tuple in typescript instead of explicitly typing it out. For example:
// like
type Foo = Tuple<number, 5>
// instead of
type Foo = [number, number, number, number, number]
This package provides exactly that. Simple!
Installation
yarn add tuple-type