transferum
    Preparing search index...

    Type Alias Transfer<TInOrAll, TOutOrFeatures, TFeaturesOrUndefined>

    Transfer: TFeaturesOrUndefined extends any[]
        ? ExplicitTransfer<TInOrAll, TOutOrFeatures, TFeaturesOrUndefined>
        : TOutOrFeatures extends any[]
            ? ExplicitTransfer<TInOrAll, TInOrAll, TOutOrFeatures>
            : never

    Generic transfer type that resolves to an ExplicitTransfer with the correct feature set based on the number of type arguments provided.

    • Two arguments (T, T, Features[]): single-type duplex transfer.
    • Three arguments (TIn, TOut, Features[]): dual-type transfer.

    Type Parameters

    • TInOrAll
    • TOutOrFeatures extends any[] | any
    • TFeaturesOrUndefined extends any[] | undefined = undefined