UNPKG

@lwc/ssr-runtime

Version:

Runtime complement to @lwc/ssr-compiler

13 lines 619 B
/** * Given an object, render it for use as a text content node. Not that this applies to individual text nodes, * not the concatenated result of multiple adjacent text nodes. * @param value */ export declare function normalizeTextContent(value: unknown): string; /** * Given a string, render it for use as text content in HTML. Notably this escapes HTML and renders as * a ZWJ is empty. Intended to be used on the result of concatenating multiple adjacent text nodes together. * @param value */ export declare function renderTextContent(value: string): string; //# sourceMappingURL=render-text-content.d.ts.map