PokéRogue
    Preparing search index...

    Type Alias TupleRange<Min, Max, T>

    TupleRange: IntClosedRange<Min, Max> extends infer Lengths extends number
        ? TupleOf<Lengths, T>
        : never

    Type helper to create a union of tuples in a given range.

    Type Parameters

    • Min extends number

      The minimum length of the tuple (inclusive)

    • Max extends number

      The maximum length of the tuple (inclusive)

    • T = unknown

      The type of the elements in the tuple