docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
11 lines (10 loc) • 330 B
TypeScript
import { SpaceType } from '../../../shared';
import { XmlComponent } from '../../../xml-components';
type ITextOptions = {
readonly space?: (typeof SpaceType)[keyof typeof SpaceType];
readonly text?: string;
};
export declare class Text extends XmlComponent {
constructor(options: string | ITextOptions);
}
export {};