effect-io-ai

Package: effect
Module: Result

Result.ResultUnify

Type-level utility for unifying Result types in generic contexts.

Details

This is an internal interface used by the Effect type system. You typically do not need to reference it directly.

Signature

export interface ResultUnify<T extends { [Unify.typeSymbol]?: any }> {
  Result?: () => T[Unify.typeSymbol] extends Result<infer A, infer E> | infer _ ? Result<A, E> : never
}

Source

Since v4.0.0