Fix linting

This commit is contained in:
Dolan Miu
2018-06-22 23:04:03 +01:00
parent 026a221e5e
commit d63adc7a6b
8 changed files with 17 additions and 17 deletions

View File

@ -1,13 +1,13 @@
import { XmlComponent } from "file/xml-components";
import { FooterReferenceAttributes, FooterReferenceType } from "./footer-reference-attributes";
export interface FooterOptions {
export interface IFooterOptions {
footerType?: FooterReferenceType;
footerId?: number;
}
export class FooterReference extends XmlComponent {
constructor(options: FooterOptions) {
constructor(options: IFooterOptions) {
super("w:footerReference");
this.root.push(

View File

@ -1,13 +1,13 @@
import { XmlComponent } from "file/xml-components";
import { HeaderReferenceAttributes, HeaderReferenceType } from "./header-reference-attributes";
export interface HeaderOptions {
export interface IHeaderOptions {
headerType?: HeaderReferenceType;
headerId?: number;
}
export class HeaderReference extends XmlComponent {
constructor(options: HeaderOptions) {
constructor(options: IHeaderOptions) {
super("w:headerReference");
this.root.push(
new HeaderReferenceAttributes({

View File

@ -1,5 +1,5 @@
import { XmlComponent } from "file/xml-components";
import { PageSizeAttributes, PageOrientation } from "./page-size-attributes";
import { PageOrientation, PageSizeAttributes } from "./page-size-attributes";
export class PageSize extends XmlComponent {
constructor(width: number, height: number, orientation: PageOrientation) {

View File

@ -5,8 +5,8 @@ import { Columns } from "./columns/columns";
import { IColumnsAttributes } from "./columns/columns-attributes";
import { DocumentGrid } from "./doc-grid/doc-grid";
import { IDocGridAttributesProperties } from "./doc-grid/doc-grid-attributes";
import { FooterOptions, FooterReference } from "./footer-reference/footer-reference";
import { HeaderOptions, HeaderReference } from "./header-reference/header-reference";
import { FooterReference, IFooterOptions } from "./footer-reference/footer-reference";
import { HeaderReference, IHeaderOptions } from "./header-reference/header-reference";
import { HeaderReferenceType } from "./header-reference/header-reference-attributes";
import { PageMargin } from "./page-margin/page-margin";
import { IPageMarginAttributes } from "./page-margin/page-margin-attributes";
@ -18,8 +18,8 @@ export type SectionPropertiesOptions = IPageSizeAttributes &
IPageMarginAttributes &
IColumnsAttributes &
IDocGridAttributesProperties &
HeaderOptions &
FooterOptions &
IHeaderOptions &
IFooterOptions &
IPageNumberTypeAttributes;
export class SectionProperties extends XmlComponent {