jmap-kit
    Preparing search index...

    Type Alias BuildTuple<L, T>

    BuildTuple: T["length"] extends L
        ? T
        : IsNegative<L> extends true ? never : BuildTuple<L, [unknown, ...T]>

    Utility type to build a tuple of length L

    Type Parameters

    • L extends number

      The desired length of the tuple. The length must be >= 0. TypeScript limits tuples to a maximum length of 999.

    • T extends unknown[] = []

      The type of each element in the tuple (default: unknown)

    A tuple of length L with elements of type T, or never if L is negative.