Skip to content

default

default(fullName?): string

Defined in: components/Preview/getResumePdfFileName.ts:8

Sanitises the user’s full name and formats a downloadable PDF filename. Strips filesystem-reserved characters and trims surrounding whitespace.

Parameter Type Description
fullName? string The applicant’s full name from Personal Details.

string

Formatted PDF file name (e.g. “john_doe_resume.pdf” or “resume.pdf”).