Initial ESlint conversion
This commit is contained in:
@ -2,7 +2,7 @@ import { Run } from "@file/paragraph";
|
||||
import { ContinuationSeperator } from "./continuation-seperator";
|
||||
|
||||
export class ContinuationSeperatorRun extends Run {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super({});
|
||||
|
||||
this.root.push(new ContinuationSeperator());
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class ContinuationSeperator extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:continuationSeparator");
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import { Run } from "@file/paragraph";
|
||||
import { FootnoteRef } from "./footnote-ref";
|
||||
|
||||
export class FootnoteRefRun extends Run {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super({
|
||||
style: "FootnoteReference",
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class FootnoteRef extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:footnoteRef");
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ export class FootNoteReferenceRunAttributes extends XmlAttributeComponent<{
|
||||
}
|
||||
|
||||
export class FootnoteReference extends XmlComponent {
|
||||
constructor(id: number) {
|
||||
public constructor(id: number) {
|
||||
super("w:footnoteReference");
|
||||
|
||||
this.root.push(
|
||||
@ -22,7 +22,7 @@ export class FootnoteReference extends XmlComponent {
|
||||
}
|
||||
|
||||
export class FootnoteReferenceRun extends Run {
|
||||
constructor(id: number) {
|
||||
public constructor(id: number) {
|
||||
super({ style: "FootnoteReference" });
|
||||
|
||||
this.root.push(new FootnoteReference(id));
|
||||
|
@ -2,7 +2,7 @@ import { Run } from "@file/paragraph";
|
||||
import { Seperator } from "./seperator";
|
||||
|
||||
export class SeperatorRun extends Run {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super({});
|
||||
|
||||
this.root.push(new Seperator());
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class Seperator extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("w:separator");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user