Add accessor to getter and setters

This commit is contained in:
Dolan
2018-08-03 02:29:58 +01:00
parent b7a4ca9c3b
commit efe7d594b0
7 changed files with 10 additions and 9 deletions

View File

@ -49,7 +49,7 @@ export class Body extends XmlComponent {
this.root.push(component);
}
get DefaultSection(): SectionProperties {
public get DefaultSection(): SectionProperties {
return this.defaultSection;
}

View File

@ -86,7 +86,7 @@ export class SectionProperties extends XmlComponent {
this.options = mergedOptions;
}
get Options(): SectionPropertiesOptions {
public get Options(): SectionPropertiesOptions {
return this.options;
}
}

View File

@ -57,7 +57,7 @@ export class Document extends XmlComponent {
return table;
}
get Body(): Body {
public get Body(): Body {
return this.body;
}
}