Initial ESlint conversion
This commit is contained in:
@ -33,7 +33,7 @@ export class TableBorders extends XmlComponent {
|
||||
insideVertical: NONE_BORDER,
|
||||
};
|
||||
|
||||
constructor(options: ITableBordersOptions) {
|
||||
public constructor(options: ITableBordersOptions) {
|
||||
super("w:tblBorders");
|
||||
|
||||
if (options.top) {
|
||||
|
@ -39,7 +39,7 @@ export enum TableCellMarginElementType {
|
||||
}
|
||||
|
||||
export class TableCellMargin extends IgnoreIfEmptyXmlComponent {
|
||||
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) {
|
||||
|
@ -146,7 +146,7 @@ export class TableFloatOptionsAttributes extends XmlAttributeComponent<ITableFlo
|
||||
}
|
||||
|
||||
export class TableFloatProperties extends XmlComponent {
|
||||
constructor({
|
||||
public constructor({
|
||||
leftFromText,
|
||||
rightFromText,
|
||||
topFromText,
|
||||
|
@ -19,7 +19,7 @@ class TableLayoutAttributes extends XmlAttributeComponent<{ readonly type: Table
|
||||
// <xsd:attribute name="type" type="ST_TblLayoutType"/>
|
||||
// </xsd:complexType>
|
||||
export class TableLayout extends XmlComponent {
|
||||
constructor(type: TableLayoutType) {
|
||||
public constructor(type: TableLayoutType) {
|
||||
super("w:tblLayout");
|
||||
this.root.push(new TableLayoutAttributes({ type }));
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ class TableOverlapAttributes extends XmlAttributeComponent<{ readonly val: Overl
|
||||
}
|
||||
|
||||
export class TableOverlap extends XmlComponent {
|
||||
constructor(type: OverlapType) {
|
||||
public constructor(type: OverlapType) {
|
||||
super("w:tblOverlap");
|
||||
this.root.push(new TableOverlapAttributes({ val: type }));
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ export interface ITablePropertiesOptions {
|
||||
}
|
||||
|
||||
export class TableProperties extends IgnoreIfEmptyXmlComponent {
|
||||
constructor(options: ITablePropertiesOptions) {
|
||||
public constructor(options: ITablePropertiesOptions) {
|
||||
super("w:tblPr");
|
||||
|
||||
if (options.style) {
|
||||
|
Reference in New Issue
Block a user