Add accessor to getter and setters
This commit is contained in:
@ -49,7 +49,7 @@ export class Body extends XmlComponent {
|
||||
this.root.push(component);
|
||||
}
|
||||
|
||||
get DefaultSection(): SectionProperties {
|
||||
public get DefaultSection(): SectionProperties {
|
||||
return this.defaultSection;
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ export class SectionProperties extends XmlComponent {
|
||||
this.options = mergedOptions;
|
||||
}
|
||||
|
||||
get Options(): SectionPropertiesOptions {
|
||||
public get Options(): SectionPropertiesOptions {
|
||||
return this.options;
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ export class Document extends XmlComponent {
|
||||
return table;
|
||||
}
|
||||
|
||||
get Body(): Body {
|
||||
public get Body(): Body {
|
||||
return this.body;
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ export class Header extends XmlComponent {
|
||||
);
|
||||
}
|
||||
|
||||
get referenceId(): number {
|
||||
public get referenceId(): number {
|
||||
return this.refId;
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ export class LevelOverride extends XmlComponent {
|
||||
}
|
||||
}
|
||||
|
||||
get level(): LevelForOverride {
|
||||
public get level(): LevelForOverride {
|
||||
let lvl: LevelForOverride;
|
||||
if (!this.lvl) {
|
||||
lvl = new LevelForOverride(this.levelNum);
|
||||
|
@ -138,7 +138,7 @@ export class TableCell extends XmlComponent {
|
||||
return para;
|
||||
}
|
||||
|
||||
get cellProperties(): TableCellProperties {
|
||||
public get cellProperties(): TableCellProperties {
|
||||
return this.properties;
|
||||
}
|
||||
}
|
||||
@ -151,7 +151,7 @@ export class TableCellProperties extends XmlComponent {
|
||||
this.root.push(this.cellBorder);
|
||||
}
|
||||
|
||||
get borders(): TableCellBorders {
|
||||
public get borders(): TableCellBorders {
|
||||
return this.cellBorder;
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,8 @@
|
||||
],
|
||||
"no-require-imports": true,
|
||||
"member-access": [
|
||||
true
|
||||
true,
|
||||
"check-accessor"
|
||||
],
|
||||
"indent": [
|
||||
true,
|
||||
|
Reference in New Issue
Block a user