export type HTMLContent = string | number | boolean | undefined; /** * Parse HTML Content to remove XSS (if used properly) * @example * ``` * const userInput = '' * * const insecure = ` *
Message:
*${userInput}
* ` // XSS Vulnerable * * const secure = html` *Message:
*${userInput}
* ` // XSS Safe * ``` * @since 8.7.0 */ export default function html(parts: TemplateStringsArray, ...variables: HTMLContent[]): string;