mini-effect
    Preparing search index...

    Type Alias inferInput<T>

    inferInput: T extends PipeableThunk<any, any, infer I>
        ? I
        : T extends Effect ? any : never

    Extracts the input type of a Pipeable operation.

    Type Parameters

    • T

      The pipeable type to extract the input from

    For a PipeableThunk, this is the parameter type it accepts. For an Effect, the input type is any. For other types, it is never.