mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 15:22:20 +10:00
refactor: ponytail audit
This commit is contained in:
@@ -7,6 +7,7 @@ import { buildDocument } from "./builder";
|
||||
* Builds a DOCX file from resume data and returns it as a Blob. Pass `resolveTitle` to fill in
|
||||
* locale-aware section headings (titles are stored empty and resolved at render time).
|
||||
*/
|
||||
// biome-ignore lint/suspicious/useAwait: keep synchronous renderer errors on the public Promise rejection path.
|
||||
export async function buildDocx(data: ResumeData, resolveTitle?: SectionTitleResolver): Promise<Blob> {
|
||||
const doc = buildDocument(data, resolveTitle);
|
||||
return Packer.toBlob(doc);
|
||||
|
||||
Reference in New Issue
Block a user