function / @typed/svelte

withServices

Shadows services while keeping the parent’s remaining services and lifetime.

Package version
1.0.0-beta.13
Category
function

Import

import { withServices } from "@typed/svelte";

Signatures

export declare function withServices<R, ER, R2>(runtime: Runtime<R, ER>, services: Context.Context<R2>): Runtime<R | R2, ER>;

Other public imports

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

Source