Files
docx-js/build/file/xml-components/default-attributes.d.ts

13 lines
420 B
TypeScript
Raw Normal View History

2018-04-02 14:37:54 +03:00
import { BaseXmlComponent } from "./base";
import { IXmlableObject } from "./xmlable-object";
export declare type AttributeMap<T> = {
[P in keyof T]: string;
};
export declare abstract class XmlAttributeComponent<T> extends BaseXmlComponent {
protected root: T;
protected xmlKeys: AttributeMap<T>;
constructor(properties: T);
prepForXml(): IXmlableObject;
set(properties: T): void;
}