Initial ESlint conversion

This commit is contained in:
Dolan Miu
2022-08-31 07:52:27 +01:00
parent d7a9cb2168
commit 1bdf9a4987
210 changed files with 4685 additions and 333 deletions

View File

@ -9,7 +9,7 @@ enum BreakType {
}
class Break extends XmlComponent {
constructor(type: BreakType) {
public constructor(type: BreakType) {
super("w:br");
this.root.push(
new Attributes({
@ -20,14 +20,14 @@ class Break extends XmlComponent {
}
export class PageBreak extends Run {
constructor() {
public constructor() {
super({});
this.root.push(new Break(BreakType.PAGE));
}
}
export class ColumnBreak extends Run {
constructor() {
public constructor() {
super({});
this.root.push(new Break(BreakType.COLUMN));
}
@ -37,7 +37,7 @@ export class ColumnBreak extends Run {
* Add page break before the paragraph if there is no one added before.
*/
export class PageBreakBefore extends XmlComponent {
constructor() {
public constructor() {
super("w:pageBreakBefore");
}
}