js-util

Home > rc-js-util > TTupleLike

TTupleLike type

Tuple version of ArrayLike.

Signature:

export declare type TTupleLike<TIndexes extends number, TValue, TLength extends number> = {
    [I in TNeverFallback<TIndexes, number>]: TValue;
} & {
    length: TLength;
};

References: TNeverFallback