Algorand TypeScript
    Preparing search index...

    Type Alias TxnFor<TFields>

    TxnFor: TFields extends [
        { submit(): TTxn },
        ...(infer TRest extends [...ItxnParams[]]),
    ]
        ? [TTxn, ...TxnFor<TRest>]
        : []

    Conditional type which returns the matching InnerTransaction types for a given tuple of ItxnParams types

    Type Parameters