Type alias CollectSuccessValue<R>

CollectSuccessValue<R>: R extends readonly []
    ? never[]
    : {
        -readonly [K in keyof R]: R[K] extends Result<unknown, infer T>
            ? T
            : never
    }

A success return type of : Result.collect.

Type Parameters

  • R extends readonly Result<unknown, unknown>[]

Generated using TypeDoc