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

@ -3,7 +3,7 @@ import { SpaceType } from "@file/space-type";
import { XmlComponent } from "@file/xml-components";
export class DeletedPage extends XmlComponent {
constructor() {
public constructor() {
super("w:delInstrText");
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
this.root.push("PAGE");
@ -11,7 +11,7 @@ export class DeletedPage extends XmlComponent {
}
export class DeletedNumberOfPages extends XmlComponent {
constructor() {
public constructor() {
super("w:delInstrText");
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
this.root.push("NUMPAGES");
@ -19,7 +19,7 @@ export class DeletedNumberOfPages extends XmlComponent {
}
export class DeletedNumberOfPagesSection extends XmlComponent {
constructor() {
public constructor() {
super("w:delInstrText");
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
this.root.push("SECTIONPAGES");