Algorand TypeScript

    Type Alias NTuple<T, N>

    NTuple: N extends N
        ? number extends N ? T[] : _TupleOf<T, N, readonly []>
        : never

    Declare a homogeneous tuple with the item type T and length N.

    Eg. NTuple<uint64, 3> === [uint64, uint64, uint64]

    Type Parameters

    • T
    • N extends number
    MMNEPVFCICPMFPCPTTAAATR