Fix ESLinting errors and remove TSLint

This commit is contained in:
Dolan Miu
2022-08-31 08:59:27 +01:00
parent 1bdf9a4987
commit ebcb37cbed
30 changed files with 104 additions and 201 deletions

View File

@ -63,13 +63,7 @@ export class File {
lastModifiedBy: options.lastModifiedBy ?? "Un-named",
});
this.numbering = new Numbering(
options.numbering
? options.numbering
: {
config: [],
},
);
this.numbering = new Numbering(options.numbering ? options.numbering : { config: [] });
this.comments = new Comments(options.comments ?? { children: [] });
this.fileRelationships = new Relationships();