docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
14 lines (12 loc) • 328 B
text/typescript
import { XmlAttributeComponent } from "file/xml-components";
export class CustomPropertyAttributes extends XmlAttributeComponent<{
readonly fmtid: string;
readonly pid: string;
readonly name: string;
}> {
protected readonly xmlKeys = {
fmtid: "fmtid",
pid: "pid",
name: "name",
};
}