Fix linting and style errors

This commit is contained in:
Dolan Miu
2018-06-09 23:49:01 +01:00
parent 80cdaaeb1c
commit 55005b57c6
55 changed files with 74 additions and 73 deletions

View File

@ -1,9 +1,9 @@
// http://officeopenxml.com/drwPicFloating-textWrap.php
import { XmlComponent, XmlAttributeComponent } from "file/xml-components";
import { TextWrapping, WrapTextOption } from ".";
import { Distance } from "../drawing";
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
import { ITextWrapping, WrapTextOption } from ".";
import { IDistance } from "../drawing";
interface IWrapSquareAttributes extends Distance {
interface IWrapSquareAttributes extends IDistance {
wrapText?: WrapTextOption;
}
@ -18,7 +18,7 @@ class WrapSquareAttributes extends XmlAttributeComponent<IWrapSquareAttributes>
}
export class WrapSquare extends XmlComponent {
constructor(textWrapping: TextWrapping) {
constructor(textWrapping: ITextWrapping) {
super("wp:wrapSquare");
this.root.push(