docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
8 lines (7 loc) • 401 B
TypeScript
import { XmlComponent } from '../xml-components';
import { RelationshipType, TargetModeType } from './relationship/relationship';
export declare class Relationships extends XmlComponent {
constructor();
addRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): void;
get RelationshipCount(): number;
}