MaxThreeTuple type

Utility type to enforce a tuple with a maximum length of 3.

export declare type MaxThreeTuple<T> = [T] | [T, T] | [T, T, T];