function / @typed/svelte

provideServices

Provides reactive service overrides to this component’s descendants.

Package version
1.0.0-beta.13
Category
function

Import

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

Signatures

export declare function provideServices<R2, R = never, ER = never>(services: Context.Context<R2> | Readable<Context.Context<R2>>, runtime?: RuntimeSource<R, ER>): Readable<Runtime<R | R2, ER>>;

Other public imports

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

Source