sized-array
v1.0.1
Published
TypeScript Definition for an Array of a Specific Size
Downloads
4
Readme
Extremely simple package that contains a TypeScript definition for an Array of a size.
For example you can make a type like:
type MyArray = RangeSizeArray<string,1,3>
To define an array of 1 to 3 strings.