UNPKG

docx

Version:

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

85 lines (84 loc) 2.45 kB
export declare const MOCK_JSON: { elements: { type: string; name: string; elements: ({ type: string; name: string; attributes: { "w14:paraId": string; "w14:textId": string; "w:rsidR": string; "w:rsidRDefault": string; }; elements: ({ type: string; name: string; elements: { type: string; name: string; attributes: { "w:val": string; }; }[]; attributes?: undefined; } | { type: string; name: string; elements: { type: string; name: string; elements: { type: string; text: string; }[]; }[]; attributes?: undefined; } | { type: string; name: string; attributes: { "w:rsidR": string; }; elements: { type: string; name: string; elements: { type: string; text: string; }[]; }[]; })[]; } | { type: string; name: string; elements: { type: string; name: string; elements: ({ type: string; name: string; elements: { type: string; name: string; attributes: { "w:val": string; }; }[]; } | { type: string; name: string; elements: { type: string; text: string; }[]; } | { type: string; name: string; elements?: undefined; })[]; }[]; attributes?: undefined; })[]; }[]; };