ts-fortress
    Preparing search index...

    Function minLengthTuple

    • Type Parameters

      • N extends StructuralPrefixLength
      • A

      Parameters

      • size: N
      • elementType: Type<A>
      • Optionaloptions: Partial<
            Readonly<
                {
                    defaultValue: readonly [MakeTupleImpl<A, `${N}`, []>, A];
                    typeName: string;
                },
            >,
        >

      Returns Type<MinLengthTuple<N, A>>

    • Type Parameters

      • A

      Parameters

      • size: number
      • elementType: Type<A>
      • Optionaloptions: Partial<Readonly<{ defaultValue: readonly A[]; typeName: string }>>

      Returns Type<readonly A[]>