mini-effect
    Preparing search index...

    Type Alias inferReturn<T>

    inferReturn: T extends PipeableThunk<infer R>
        ? R
        : T extends WrapEffect<infer R> ? R : T extends Effect<infer R> ? R : never

    Extracts the success (return) type from an Effect, WrapEffect, or PipeableThunk.

    Type Parameters

    • T

      The effect or pipeable type to extract the return type from