Merge branch 'master' into feat/tslint-to-eslint

# Conflicts:
#	src/file/numbering/level.spec.ts
#	src/file/numbering/level.ts
This commit is contained in:
Dolan Miu
2022-09-15 18:04:48 +01:00
11 changed files with 355 additions and 199 deletions

View File

@ -5,7 +5,6 @@ import { Formatter } from "@export/formatter";
import { GridCol, TableGrid } from "./grid";
describe("GridCol", () => {
describe("#constructor", () => {
it("sets the width attribute to the value given", () => {

View File

@ -39,7 +39,10 @@ export enum TableCellMarginElementType {
}
export class TableCellMargin extends IgnoreIfEmptyXmlComponent {
public constructor(type: TableCellMarginElementType, { marginUnitType = WidthType.DXA, top, left, bottom, right }: ITableCellMarginOptions) {
public constructor(
type: TableCellMarginElementType,
{ marginUnitType = WidthType.DXA, top, left, bottom, right }: ITableCellMarginOptions,
) {
super(type);
if (top !== undefined) {