Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/mod.ts>BlockModule

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
type alias BlockModule
import { type BlockModule } from "https://deno.land/x/live@1.55.1/mod.ts";

Type Parameters

optional
TDefaultExportFunc extends ResolverLike<T> = ResolverLike
optional
T = TDefaultExportFunc extends ResolverLike<infer TValue> ? TValue : any
optional
TSerializable = T
definition: { default: TDefaultExportFunc; invoke?: Resolver<TSerializable, BlockInvocation, any>; preview?: Resolver<PreactComponent, TSerializable, any>; Preview?: ComponentFunc; onBeforeResolveProps?: (props: any, hints: HintNode<any>) => any; }