Import
import { WebComponent } from "@typed/template";Access WebComponent.server through the imported WebComponent export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export declare function server<F extends Fields, View extends Renderable.Any, Children extends Renderable.Any = undefined>(definition: Definition<F, View>, ...args: {} extends Input<F> ? [
initial?: Input<F>,
children?: Children
] : [
initial: Input<F>,
children?: Children
]): Fx.Fx<HtmlRenderEvent, Renderable.Error<View> | Renderable.Error<Children>, Renderable.Services<View> | Renderable.Services<Children> | Scope.Scope>;Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.