UNPKG

lit-xml

Version:

Burning your XML documents to the ground? Yes please. In the mean time, let's use lit-xml.

23 lines 685 B
import { LitXmlOptions } from './lit-xml-options.js'; export declare class XmlFragment { private xmlLiterals; private values; private options; constructor(xmlLiterals: TemplateStringsArray, values: unknown[], options: LitXmlOptions); /** * Converts the XML fragment to a string. * This method runs the validators on the generated XML string. */ toString(): string; /** * @internal * Same as `toString`, but does not run the validators. */ toStringRaw(): string; } export declare class UnsafeXmlFragment { #private; constructor(unsafeXml: string); toString(): string; } //# sourceMappingURL=xml-fragment.d.ts.map