function / @typed/svelte

view

A native Typed template that mounts or serializes a Svelte component.

Package version
1.0.0-beta.13
Category
function

Import

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

Signatures

export declare function view<Props extends Record<string, any>, E = never, R = never>(component: Component<Props>, props: Source<NoInfer<Props>, E, R>, options?: ViewOptions): Fx.Fx<RenderEvent, E, R | Scope.Scope | RenderTemplate | RandomValues>;

Other public imports

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

Source