docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
15 lines (14 loc) • 512 B
TypeScript
import { Paragraph } from '../../paragraph';
import { XmlComponent } from '../../xml-components';
export declare const FootnoteType: {
readonly SEPERATOR: "separator";
readonly CONTINUATION_SEPERATOR: "continuationSeparator";
};
export type IFootnoteOptions = {
readonly id: number;
readonly type?: (typeof FootnoteType)[keyof typeof FootnoteType];
readonly children: readonly Paragraph[];
};
export declare class Footnote extends XmlComponent {
constructor(options: IFootnoteOptions);
}