Neah_Front/node_modules/preact-render-to-string/dist/index.d.ts
2025-04-08 14:45:23 +02:00

17 lines
384 B
TypeScript

import { VNode } from 'preact';
interface Options {
shallow?: boolean;
xml?: boolean;
pretty?: boolean | string;
}
export function render(vnode: VNode, context?: any, options?: Options): string;
export function renderToString(
vnode: VNode,
context?: any,
options?: Options
): string;
export function shallowRender(vnode: VNode, context?: any): string;
export default render;