type BridgeOutcomeFailure<T> = [
OutcomeOf<T>
] extends [
never
] ? never : OutcomeOf<T> extends {
readonly failure: infer F;
} ? F : never; The declared failure type of a command result: F for a BridgeOutcome<_, F>, otherwise never.