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) 473 B
import { IRunStylePropertiesOptions } from '../../paragraph/run/properties'; import { IStyleOptions, Style } from './style'; export type IBaseCharacterStyleOptions = { readonly run?: IRunStylePropertiesOptions; } & IStyleOptions; export type ICharacterStyleOptions = { readonly id: string; } & IBaseCharacterStyleOptions; export declare class StyleForCharacter extends Style { private readonly runProperties; constructor(options: ICharacterStyleOptions); }