UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

20 lines (17 loc) 438 B
import { XmlAttributeComponent } from "file/xml-components"; export class BookmarkStartAttributes extends XmlAttributeComponent<{ readonly id: string; readonly name: string; }> { protected readonly xmlKeys = { id: "w:id", name: "w:name", }; } export class BookmarkEndAttributes extends XmlAttributeComponent<{ readonly id: string; }> { protected readonly xmlKeys = { id: "w:id", }; }