The desired length of the tuple (must be a non-negative integer literal).
The type of elements in the tuple.
type TupleOf3Strings = MakeTuple<3, string>; // readonly [string, string, string]
type TupleOf0Numbers = MakeTuple<0, number>; // readonly []
// type InvalidLength = MakeTuple<-1, boolean>; // Error or unexpected result
// type InvalidLength2 = MakeTuple<1.5, boolean>; // Error or unexpected result
Creates a readonly tuple type of a specific length
Nwith elements of typeElm.