UNPKG

docx

Version:

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

13 lines (12 loc) 556 B
import { Paragraph } from '../../paragraph'; import { IContext, IXmlableObject, XmlComponent } from '../../xml-components'; import { Table } from '../table'; import { ITableCellPropertiesOptions } from './table-cell-properties'; export type ITableCellOptions = { readonly children: readonly (Paragraph | Table)[]; } & ITableCellPropertiesOptions; export declare class TableCell extends XmlComponent { readonly options: ITableCellOptions; constructor(options: ITableCellOptions); prepForXml(context: IContext): IXmlableObject | undefined; }