UNPKG

docx

Version:

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

13 lines (10 loc) 267 B
import { Run } from "file/paragraph"; import { FootnoteRef } from "./footnote-ref"; export class FootnoteRefRun extends Run { constructor() { super({ style: "FootnoteReference", }); this.root.push(new FootnoteRef()); } }