UNPKG

lit-ssr-utils

Version:

Lit utils to implement SSR to projects that do not use Javascript.

20 lines (17 loc) 394 B
// Generated by dts-bundle-generator v8.1.2 export type LitSsrError = { message: string; code: string; }; export type HttpLitSsrResponse = { html: string; }; export type Context = { body: unknown; set: { headers: Record<string, string>; status?: number; }; }; export declare function renderLitComponent({ body, set }: Context): Promise<LitSsrError | HttpLitSsrResponse>; export {};