docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
16 lines (14 loc) • 394 B
text/typescript
import { XmlAttributeComponent } from "file/xml-components";
export class RelationshipAttributes extends XmlAttributeComponent<{
readonly id: string;
readonly type: string;
readonly target: string;
readonly targetMode?: string;
}> {
protected readonly xmlKeys = {
id: "Id",
type: "Type",
target: "Target",
targetMode: "TargetMode",
};
}