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

@ -1,10 +1,10 @@
import { expect } from "chai";
import { EMPTY_OBJECT } from "@file/xml-components";
import { Formatter } from "@export/formatter";
import { GridCol, TableGrid } from "./grid";
import { EMPTY_OBJECT } from "@file/xml-components";
describe("GridCol", () => {
describe("#constructor", () => {

View File

@ -10,7 +10,7 @@ export interface ITableCellOptions extends ITableCellPropertiesOptions {
}
export class TableCell extends XmlComponent {
public constructor(readonly options: ITableCellOptions) {
public constructor(public readonly options: ITableCellOptions) {
super("w:tc");
this.root.push(new TableCellProperties(options));