@kayahr/di
    Preparing search index...

    Type Alias FunctionPassThroughParams<Params, Inject>

    FunctionPassThroughParams: Params extends [
        infer Param,
        ...(infer RemainingParams),
    ]
        ? Inject extends [infer Qualifier, ...(infer RemainingInject)]
            ? Qualifier extends null
                ? [
                    Param,
                    ...FunctionPassThroughParams<
                        Extract<RemainingParams, unknown[]>,
                        Extract<RemainingInject, readonly unknown[]>,
                    >,
                ]
                : FunctionPassThroughParams<
                    Extract<RemainingParams, unknown[]>,
                    Extract<RemainingInject, readonly unknown[]>,
                >
            : []
        : []

    Derives the remaining call-time parameters of an injected function from the original parameter list and inject array.

    Each null entry in the inject array becomes one remaining parameter on the resolved function, while all other entries are injected automatically by DI.

    Type Parameters

    • Params extends unknown[]

      The original function parameter types.

    • Inject extends readonly unknown[]

      The inject array containing qualifiers and null placeholders.