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,6 +1,6 @@
// http://officeopenxml.com/drwPicFloating-textWrap.php
import { XmlComponent, XmlAttributeComponent } from "file/xml-components";
import { Distance } from "../drawing";
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
import { IDistance } from "../drawing";
interface IWrapTopAndBottomAttributes {
distT?: number;
@ -15,7 +15,7 @@ class WrapTopAndBottomAttributes extends XmlAttributeComponent<IWrapTopAndBottom
}
export class WrapTopAndBottom extends XmlComponent {
constructor(distanceFromText?: Distance) {
constructor(distanceFromText?: IDistance) {
super("wp:wrapTopAndBottom");
distanceFromText = distanceFromText || {