MaxThreeTuple type
Utility type to enforce a tuple with a maximum length of 3.
export type MaxThreeTuple<T> = [T] | [T, T] | [T, T, T];
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Utility type to enforce a tuple with a maximum length of 3.
export type MaxThreeTuple<T> = [T] | [T, T] | [T, T, T];