Prettier syntax update of sdt-properties

This commit is contained in:
Juan D
2023-06-23 13:05:21 -04:00
parent 41c0fb5fc0
commit 9e9ca526fe

View File

@ -4,7 +4,7 @@ import { StringValueElement, XmlComponent } from "@file/xml-components";
export class StructuredDocumentTagProperties extends XmlComponent {
public constructor(alias?: string) {
super("w:sdtPr");
if(typeof alias === 'string'){
if (typeof alias === "string") {
this.root.push(new StringValueElement("w:alias", alias));
}
}