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) 382 B
import { Paragraph } from "./paragraph"; import { Table } from "./table"; export interface IHeaderOptions { readonly children: (Paragraph | Table)[]; } export declare class Header { readonly options: IHeaderOptions; constructor(options?: IHeaderOptions); } export declare class Footer { readonly options: IHeaderOptions; constructor(options?: IHeaderOptions); }