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

@ -96,7 +96,7 @@ class RootCommentsAttributes extends XmlAttributeComponent<{
}
export class CommentRangeStart extends XmlComponent {
constructor(id: number) {
public constructor(id: number) {
super("w:commentRangeStart");
this.root.push(new CommentRangeAttributes({ id }));
@ -104,7 +104,7 @@ export class CommentRangeStart extends XmlComponent {
}
export class CommentRangeEnd extends XmlComponent {
constructor(id: number) {
public constructor(id: number) {
super("w:commentRangeEnd");
this.root.push(new CommentRangeAttributes({ id }));
@ -112,7 +112,7 @@ export class CommentRangeEnd extends XmlComponent {
}
export class CommentReference extends XmlComponent {
constructor(id: number) {
public constructor(id: number) {
super("w:commentReference");
this.root.push(new CommentRangeAttributes({ id }));
@ -120,7 +120,7 @@ export class CommentReference extends XmlComponent {
}
export class Comment extends XmlComponent {
constructor({ id, initials, author, date = new Date(), text }: ICommentOptions) {
public constructor({ id, initials, author, date = new Date(), text }: ICommentOptions) {
super("w:comment");
this.root.push(
@ -136,7 +136,7 @@ export class Comment extends XmlComponent {
}
}
export class Comments extends XmlComponent {
constructor({ children }: ICommentsOptions) {
public constructor({ children }: ICommentsOptions) {
super("w:comments");
this.root.push(