Fix exported type definitions

This commit is contained in:
Dolan
2018-02-02 01:56:08 +00:00
parent 680f2325a3
commit ee958dc351
6 changed files with 32 additions and 8 deletions

View File

@ -1,5 +1,4 @@
import { BaseXmlComponent } from "file/xml-components";
import { IXmlableObject } from "file/xml-components/xmlable-object";
import { BaseXmlComponent, IXmlableObject } from "file/xml-components";
export class Formatter {
public format(input: BaseXmlComponent): IXmlableObject {

View File

@ -1,5 +1,4 @@
import { XmlComponent } from "file/xml-components";
import { IXmlableObject } from "file/xml-components/xmlable-object";
import { IXmlableObject, XmlComponent } from "file/xml-components";
import { Paragraph } from "../paragraph";
import { TableGrid } from "./grid";
import { TableProperties, WidthTypes } from "./properties";

View File

@ -1,3 +1,4 @@
export * from "./xml-component";
export * from "./attributes";
export * from "./default-attributes";
export * from "./xmlable-object";

View File

@ -1,3 +1,6 @@
export interface IXmlableObject extends Object {
_attr?: { [key: string]: string | number | boolean };
}
// Needed because of: https://github.com/s-panferov/awesome-typescript-loader/issues/432
export const WORKAROUND3 = "workaround";