mdast2docx logo Md2Docx
Version 0.1.1API DocsType aliases

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 });

On this page