Initial ESlint conversion
This commit is contained in:
@ -4,7 +4,7 @@ import { XmlComponent } from "@file/xml-components";
|
||||
import { TextAttributes } from "./text-attributes";
|
||||
|
||||
export class Page extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:instrText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
this.root.push("PAGE");
|
||||
@ -12,7 +12,7 @@ export class Page extends XmlComponent {
|
||||
}
|
||||
|
||||
export class NumberOfPages extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:instrText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
this.root.push("NUMPAGES");
|
||||
@ -20,7 +20,7 @@ export class NumberOfPages extends XmlComponent {
|
||||
}
|
||||
|
||||
export class NumberOfPagesSection extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:instrText");
|
||||
this.root.push(new TextAttributes({ space: SpaceType.PRESERVE }));
|
||||
this.root.push("SECTIONPAGES");
|
||||
|
Reference in New Issue
Block a user