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 {
|
export class StructuredDocumentTagProperties extends XmlComponent {
|
||||||
public constructor(alias?: string) {
|
public constructor(alias?: string) {
|
||||||
super("w:sdtPr");
|
super("w:sdtPr");
|
||||||
if(typeof alias === 'string'){
|
if (typeof alias === "string") {
|
||||||
this.root.push(new StringValueElement("w:alias", alias));
|
this.root.push(new StringValueElement("w:alias", alias));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user