UNPKG

docx

Version:

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

9 lines (8 loc) 356 B
import { XmlComponent } from '../xml-components'; import { CharacterSet } from './font'; export declare const createRegularFont: ({ name, index, fontKey, characterSet, }: { readonly name: string; readonly index: number; readonly fontKey: string; readonly characterSet?: (typeof CharacterSet)[keyof typeof CharacterSet]; }) => XmlComponent;