linting
This commit is contained in:
@ -10,7 +10,7 @@ class TabStop extends XmlComponent {
|
||||
|
||||
class Tab extends XmlComponent {
|
||||
|
||||
constructor(value: string, position: any) {
|
||||
constructor(value: string, position: string | number) {
|
||||
super("w:tab");
|
||||
this.root.push(new Attributes({
|
||||
val: value,
|
||||
|
@ -19,7 +19,7 @@ interface IAttributesProperties {
|
||||
footer?: string;
|
||||
gutter?: string;
|
||||
linePitch?: string;
|
||||
pos?: string;
|
||||
pos?: string | number; // Little strange. Perhaps it is normal. Need to clarify in the spec.
|
||||
}
|
||||
|
||||
export class Attributes extends XmlAttributeComponent {
|
||||
|
Reference in New Issue
Block a user