type-alias / @typed/fx/RefSubject

HydratedRefSubject.HydrationError

Describes the hydration error type.

Package version
2.0.0-beta.7
Category
Hydration types
Since
2.0.0
Member of
HydratedRefSubject

Import

import { HydratedRefSubject } from "@typed/fx/RefSubject";

Access HydratedRefSubject.HydrationError through the imported HydratedRefSubject export. Its declaration below describes the member.

Signatures

type HydrationError<T> = T extends HydrationRef<infer E, any> ? E : never;

Why

Extracts the typed serialization failure shared by a HydrationRef composition.

Ownership and lifetime

HydrationError 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