Import
import { ProviderProps } from "@typed/react/Runtime";Signatures
export interface ProviderProps<R = never, ER = never, Services = never> {
readonly runtime?: Runtime<R, ER>;
readonly context?: Context.Context<Services>;
readonly layer?: Layer.Layer<R, ER>;
readonly fallback?: ReactNode;
readonly onError?: (cause: Cause.Cause<ER>) => void;
readonly children?: ReactNode;
}Property: context
Already-built services merged over the parent or explicit runtime. Safe for SSR.
Property: layer
Provider-owned Layer. Acquisition starts after commit; cleanup disposes its runtime.
Property: onError
Handles acquisition failures; without a handler they reach the nearest React error boundary.
Property: runtime
Borrowed runtime. The caller owns its disposal.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.