Prettier syntax update of sdt-properties
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user