UNPKG

docxml

Version:

TypeScript (component) library for building and parsing a DOCX file

15 lines (14 loc) 558 B
export declare type ChangeInformation = { id: number; author: string; date: Date; }; /** * Parses common change tracking information from a given node. * * For convenience the node is "optional", in the sense that TS will not complain when passing in * the result of a query (which may or may not be strictly a node). If no node is passed, the * function will throw. Only use this function if you're already certain you have a change tracking * node. */ export declare function getChangeInformation(node?: Node | null): ChangeInformation;