lit-ssr-utils
Version:
Lit utils to implement SSR to projects that do not use Javascript.
20 lines (17 loc) • 444 B
TypeScript
// Generated by dts-bundle-generator v8.1.2
export type LitSsrError = {
message: string;
code: string;
};
export type HttpLitSsrResponse = {
html: string;
};
export type HttpLitSsrError = LitSsrError;
export type HttpLitSsrHeaders = Record<string, string>;
export type HttpLitSsr = [
number,
HttpLitSsrResponse | HttpLitSsrError,
HttpLitSsrHeaders
];
export default function decoupledHandler(body: any): Promise<HttpLitSsr>;
export {};