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

@ -7,7 +7,7 @@ class FldSimpleAttrs extends XmlAttributeComponent<{ readonly instr: string }> {
}
export class SimpleField extends XmlComponent {
constructor(instruction: string, cachedValue?: string) {
public constructor(instruction: string, cachedValue?: string) {
super("w:fldSimple");
this.root.push(new FldSimpleAttrs({ instr: instruction }));
if (cachedValue !== undefined) {
@ -17,7 +17,7 @@ export class SimpleField extends XmlComponent {
}
export class SimpleMailMergeField extends SimpleField {
constructor(fieldName: string) {
public constructor(fieldName: string) {
super(` MERGEFIELD ${fieldName} `, `«${fieldName}»`);
}
}