docx
    Preparing search index...

    Type Alias OutputType

    OutputType: keyof OutputByType

    Valid output type identifiers.

    Use these string literals to specify the desired output format when generating documents.

    const outputType: OutputType = "base64";
    const doc = await packer.generate(document, { type: outputType });