type-alias / @typed/fx

Versioned.Versioned.Unify

Unifies a Versioned type.

Package version
2.0.0-beta.7
Category
Type utilities
Since
1.0.0
Member of
Versioned.Versioned

Import

import { Versioned } from "@typed/fx";

Access Versioned.Versioned.Unify through the imported Versioned export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

type Unify<T> = T extends Versioned<infer R1, infer E1, infer A2, infer E2, infer R2, infer A3, infer E3, infer R3> | (infer _) ? Versioned<R1, E1, A2, E2, R2, A3, E3, R3> : never;

Why

Normalizes the eight Versioned channels after conditional type inference so generic helpers preserve their exact value, error, and service types.

Ownership and lifetime

Unify is a contract and performs no acquisition. Implementations retain the errors, services, interruption, and Scope requirements expressed by its members.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source