You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
492 B
15 lines
492 B
/**
|
|
* Turn a tag definition into a html string
|
|
* @param {HtmlTagObject} tagDefinition
|
|
* A tag element according to the htmlWebpackPlugin object notation
|
|
*
|
|
* @param xhtml {boolean}
|
|
* Wether the generated html should add closing slashes to be xhtml compliant
|
|
*/
|
|
export declare function htmlTagObjectToString(tagDefinition: {
|
|
tagName: string;
|
|
voidTag?: boolean;
|
|
innerHTML?: string;
|
|
attributes: Record<string, string | undefined | boolean>;
|
|
}, xhtml?: boolean): string;
|