OutputType
Updated 22 Oct 2026
OutputType = keyof OutputByType
Defined in: node_modules/.pnpm/docx@9.13.0/node_modules/docx/dist/index.d.ts:10356
Valid output type identifiers.
Use these string literals to specify the desired output format when generating documents.
Example
const outputType: OutputType = "base64";
const doc = await packer.generate(document, { type: outputType });