UNPKG

docx

Version:

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

14 lines (13 loc) 389 B
import { Paragraph } from './paragraph'; import { Table } from './table'; export type IHeaderOptions = { readonly children: readonly (Paragraph | Table)[]; }; export declare class Header { readonly options: IHeaderOptions; constructor(options?: IHeaderOptions); } export declare class Footer { readonly options: IHeaderOptions; constructor(options?: IHeaderOptions); }